Permalink
Browse files

Updated README with namespace clarification

  • Loading branch information...
1 parent 44462f5 commit a56725933d217a23fbbb024c96da88d9c9379538 @barnabywalters barnabywalters committed Sep 17, 2012
Showing with 16 additions and 0 deletions.
  1. +16 −0 README
View
@@ -6,6 +6,22 @@ Api.php has a new function called setToken($oauth_token, $oauth_token_secret) to
===========
+Usage
+
+To install via composer, include:
+
+ "ruudk/twitter-oauth": "*"
+
+in your composer.json file.
+
+Then, after including composer's automatically generated autoloader, create a new instance of the twitter API:
+
+ $twitter = new \TwitterOAuth\Api(arguments);
+
+When following the steps in the Documentation file, amend them to use this namespaced instanciation code or TwitterOAuth will not work.
+
+===========
+
Abraham Williams | abraham@poseurte.ch | http://abrah.am | @abraham
The first PHP library for working with Twitter's OAuth API.

0 comments on commit a567259

Please sign in to comment.