Public API reference
getUserTimeline
This method returns the posts of the requested user.
This method doesn't require authentication
Parameters
- user: The username of the user of whom to return the posts
- since: Narrows the returned results to just the posts created after the specified timestamp (Numeric UNIX timestamp, OPTIONAL)
- page: Gets the next 20 posts of the specified user (Numeric integer, OPTIONAL)
Example response
<?xml version="1.0" encoding="UTF-8"?> <result code="done"> <update id="2212"> <user>twitxr</user> <avatar>http://twitxr.com/avatars/t/twitxr-80.jpg?t=1201089568</avatar> <url>http://twitxr.com/twitxr/updates/2212</url> <timestamp>1203334765</timestamp> <text>From now on you're going to see the source app off the post :)</text> <picture>http://twitxr.com/image/2212/th</picture> <reply></reply> <location> <lat>41.960948</lat> <lng>2.835927</lng> <place>Carrer de Puigsacalm, 17005 Girona, Spain</place> </location> <source> <application>iPhone</application> <applicationURL>http://twitxr.com/iphoneclient/</applicationURL> </source> <comment> <user>albert</user> <text>this is a comment, only the last 3 are returned</text> <timestamp>1219267191</timestamp> </comment> </update> <update id="2114"> <user>twitxr</user> <avatar>http://twitxr.com/avatars/t/twitxr-80.jpg?t=1201089568</avatar> <url>http://twitxr.com/twitxr/updates/2114</url> <timestamp>1203328335</timestamp> <text>Some minor bugs fixed, now working on the 'Post by e-mail' feature</text> <picture></picture> <reply></reply> <location> <lat>41.9818</lat> <lng>2.8237</lng> <place>girona, spain</place> </location> <source> <application>web</application> <applicationURL>http://twitxr.com</applicationURL> </from> </update> </result>
