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
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.
-
If you are still having trouble with your code, you can compare with BirdHouse, a cross-platform Twitter OAuth script: