PHP Classes

File: readme.txt

Recommend this page to a friend!
  Classes of Justin Poliey   twitterlibphp   readme.txt   Download  
File: readme.txt
Role: Documentation
Content type: text/plain
Description: Readme
Class: twitterlibphp
Manipulate a Twitter user account
Author: By
Last change:
Date: 16 years ago
Size: 1,767 bytes
 

Contents

Class file image Download
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()