All methods are available in both XML and JSON formats. All methods use a GET request, unless explicitly specified below.
Gets the public timeline
Returns all messages from conversations the user was engaged in.
Gets a friends timeline
Gets a users timeline
This method also accepts a user name or id: statuses/user_timeline/name.jsonstatuses/user_timeline/id.xml
Gets a users
This method only accepts a user name or id: statuses/show/name.jsonstatuses/show/id.xml
Posts a message
Parameters:
Returns friends
This method also accepts a user name or id: statuses/friends/name.jsonstatuses/friends/id.xml
Returns followers
This method also accepts a user name or id: statuses/followers/name.jsonstatuses/followers/id.xml
Get direct messages
Dummy method, returns empty collection. Included for compatibility with Twitter clients who request this method upon startup and fail if it returns an error.
Returns users
This method only accepts a user name or id: users/show/name.jsonusers/show/id.xml
Returns users
This method only accepts a user name or id: friendships/create/name.jsonfriendships/create/id.xml
Deletes friendships
This method only accepts a user name or id: friendships/destroy/name.jsonfriendships/destroy/id.xml
Shows existing friendships
This method only accepts a user name or id: friendships/exists/name.jsonfriendships/exists/id.xml
Parameters:
Verifies the credentials
Returns basic user information if the credentials are correct.
Ends the current session
Returns basic user information if the credentials are correct.
You can find more about Twitter's own API at http://apiwiki.twitter.com/w/page/22554679/Twitter-API-Documentation.
You can configure the prefix for the Twitter-compatible API via the twitter.prefix property. The default value is twitter, if you want no prefix, use an empty string like this:
twitter.prefix=
For more information about configuring properties in Lift, check here.