h3. Supported Twitter methods All methods are available in both XML and JSON formats. All methods use a GET request, unless explicitly specified below. h4. Get Public Timeline Gets the public timeline h5. GET /twitter/statuses/public_timeline ---- h4. Get messages from conversations Returns all messages from conversations the user was engaged in. h5. GET /twitter/statuses/replies ---- h4. Get friends timeline Gets a friends timeline h5. GET /twitter/statuses/friends_timeline ---- h4. Get a users timeline Gets a users timeline h5. GET /twitter/statuses/user_timeline This method also accepts a user name or id: {{statuses/user_timeline/name.json{}}}{{{}statuses/user_timeline/id.xml}} ---- h4. Get a user Gets a users h5. GET /twitter/statuses/show This method only accepts a user name or id: {{statuses/show/name.json{}}}{{{}statuses/show/id.xml}} ---- h4. Update Posts a message h5. POST /twitter/statuses/update Parameters: * status: text of the message * source: application name or _twitterapi_ by default ---- h4. Get friends Returns friends h5. GET /twitter/statuses/friends This method also accepts a user name or id: {{statuses/friends/name.json{}}}{{{}statuses/friends/id.xml}} ---- h4. Get followers Returns followers h5. GET /twitter/statuses/followers This method also accepts a user name or id: {{statuses/followers/name.json{}}}{{{}statuses/followers/id.xml}} ---- h4. Get Direct Messages 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. ---- h4. Show Users Returns users h5. GET /twitter/users/show This method only accepts a user name or id: {{users/show/name.json{}}}{{{}users/show/id.xml}} ---- h4. Create Friendship Returns users h5. POST /twitter/friendships/create This method only accepts a user name or id: {{friendships/create/name.json{}}}{{{}friendships/create/id.xml}} ---- h4. Delete Friendships Deletes friendships h5. POST /twitter/friendships/destroy This method only accepts a user name or id: {{friendships/destroy/name.json{}}}{{{}friendships/destroy/id.xml}} ---- h4. Show existing friendships Shows existing friendships h5. GET /twitter/friendships/exists This method only accepts a user name or id: {{friendships/exists/name.json{}}}{{{}friendships/exists/id.xml}} Parameters: * user_a * user_b ---- h4. Verify Credentials Verifies the credentials h5. GET /twitter/verify/credentials Returns basic user information if the credentials are correct. ---- h4. End Session Ends the current session h5. POST /twitter/account/end_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]. h4. Twitter API URL 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: bq. twitter.prefix= For more information about configuring properties in Lift, check [here|http://wiki.liftweb.net/index.php/Cheat_Sheet#Property_files].