- Notifications
You must be signed in to change notification settings - Fork11
abandroid/twitter
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Byendroid
This library helps making requests to the Twitter API. The onlythings you need are the keys which you can find in thedeveloper console.
UseComposer to install the library.
$ composer require endroid/twitter
Register your application athttp://apps.twitter.com/app
useAbraham\TwitterOAuth\TwitterOAuth;useEndroid\Twitter\Client;$twitterOAuth =newTwitterOAuth($consumerKey,$consumerSecret);$client =newClient($twitterOAuth);// Retrieve the last 50 items in the user's timeline$tweets =$client->getTimeline(50);// Or post a status message (with optional media)$client->postStatus('Hello, this is my new status', ['/tmp/image1.png','/tmp/image2.png']);
Version numbers follow the MAJOR.MINOR.PATCH scheme. Backwards compatibilitybreaking changes will be kept to a minimum but be aware that these can occur.Lock your dependencies for production and test your code when upgrading.
This bundle is under the MIT license. For the full copyright and licenseinformation please view the LICENSE file that was distributed with this source code.
About
Twitter Client
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Contributors7
Uh oh!
There was an error while loading.Please reload this page.
