Titanium Community Questions & Answer Archive

We felt that 6+ years of knowledge should not die so this is the Titanium Community Questions & Answer Archive

a little help with twitter posting of friends' statuses

i am testing a very basic twitter client using the oauth method. i can view my own tweets as well as update my tweets but i cannot figure out how to display those of members that i am following. anyhelp would be appreciated. thanks

— asked August 7th 2010 by sean oreilly
  • friends
  • oauth
  • timeline
  • twitter
  • user

2 Answers

  • You can use statuses/friends_timeline to get the timeline for the currently authenticated user. Timeline includes tweets of the users you are following (similar to what you see on Twitter's Home screen).

    To get tweets for a specific user that you are following, use statuses/user_timeline with the user_id or screen_name parameter set to the specific user you want to display tweets for.

    To get the IDs of every user you are following, you can use friends/ids.

    — answered August 7th 2010 by Goran Skledar
    1 Comment
    • thanks alot. i really dont know much however, do i wrap it like this?

      var loader = Titanium.Network.createHTTPClient(); loader.open("GET",'http://api.twitter.com/version/statuses/friends_timeline.json');


      — commented August 7th 2010 by sean oreilly
  • If you are still having trouble with your code, you can compare with BirdHouse, a cross-platform Twitter OAuth script:


    — answered April 19th 2011 by Joe iEntry
The ownership of individual contributions to this community generated content is retained by the authors of their contributions.
All trademarks remain the property of the respective owner.