PHP Classes

twitterlibphp: Manipulate a Twitter user account

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 45%Total: 1,174 All time: 3,224 This week: 524Up
Version License PHP version Categories
twitterlibphp 1.0GNU General Publi...4PHP 5, Web services, Social Networking
Description 

Author

This class can be used to manipulate a Twitter user account.

It can access the Twitter API Web site and execute several types of operations to manipulate an account of a given Twitter user. It can:

- Get the user's and his friends public time line
- Retrieve, update or delete the user status
- Get the status of friends, followers and users featured on the site
- Retrieve information of a given user
- Get the list of messages sent by the user
- Send a new message to an user
- Delete messages
- Establish or end friendship with another user
- Verify user credentials
- End an user access session
- Retrieve archived status of the user
- Create, retrieve and delete favorites user status

Picture of Justin Poliey
Name: Justin Poliey <contact>
Classes: 1 package by
Country: United States United States
Age: 36
All time rank: 2149303 in United States United States
Week rank: 170 Up21 in United States United States Up

Details

Twitter interface class Justin Poliey <jdp34@njit.edu> http://github.com/jdp/twitterlibphp First release Nov 26 2007 Newest release Aug 14 2008 This is a simple interface to the Twitter API. I've tried to keep as close as possible to the real API calls (some had to be changed due to ambiguity), but all of the arguments are as they are in the official docs. For documentation, check the project wiki: http://github.com/jdp/twitterlibphp/wikis Usage: $twitter = new Twitter("username", "password"); $public_timeline_xml = $twitter->getPublicTimeline("xml"); Methods: getPublicTimeline($format [, $since_id]) getFriendsTimeline($format [, $id [, $since ]]) getUserTimeline($format [, $id [, $count [, $since ]]]) showStatus($format, $id) updateStatus($status) destroyStatus($format, $id) getReplies($format [, $page ]) getFriends($format [, $id ]) getFollowers($format [, $lite ]) getFeatured($format) showUser($format [, $id [, $email ]]) getMessages($format [, $since [, $since_id [, $page ]]]) getSentMessages($format [, $since [, $since_id [, $page ]]]) newMessage($format, $user, $text) destroyMessage($format, $id) createFriendship($format, $id) destroyFriendship($format, $id) friendshipExists($format, $user_a, $user_b) verifyCredentials([$format]) endSession() updateLocation($format, $location) updateDeliveryDevice($format, $device) rateLimitStatus($format) getArchive($format [, $page ]) getFavorites($format [, $id [, $page ]]) createFavorite($format, $id) destroyFavorite($format, $id) follow($format, $id) leave($format, $id) createBlock($format, $id) destroyBlock($format, $id) test($format) downtimeSchedule($format) lastStatusCode() lastAPICall()

  Files folder image Files (3)  
File Role Description
Accessible without login Plain text file license.txt Lic. MIT License
Accessible without login Plain text file readme.txt Doc. Readme
Plain text file twitter.lib.php Class twitterlibphp class implementation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,174
This week:0
All time:3,224
This week:524Up
 User Ratings  
 
 All time
Utility:75%StarStarStarStar
Consistency:75%StarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:45%StarStarStar
Rank:3393