Re: [twitter-dev] Re: display user's profile image - definitive answer?
Hey Del, David, The API request for doing this is /1/statuses/home_timeline but this is for your viewing only. You must not use that timeline to render Tweets on a public website. The reason for this is your home_timeline could contain Tweets from protected users that you follow, and displaying those to other users is not permitted. Best, @themattharris Developer Advocate, Twitter http://twitter.com/themattharris On Thu, Feb 17, 2011 at 8:36 AM, David Giamanco wrote: > I'm guessing you want to show the last 25 tweets of twitter users that you > follow. If so, then you should use statuses/friends_timeline. The url is: > > http://api.twitter.com/1/statuses/friends_timeline.json > > Hopefully this helps. > > - David Giamanco > > -- > Twitter developer documentation and resources: http://dev.twitter.com/doc > API updates via Twitter: http://twitter.com/twitterapi > Issues/Enhancements Tracker: > http://code.google.com/p/twitter-api/issues/list > Change your membership to this group: > http://groups.google.com/group/twitter-development-talk > -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: display user's profile image - definitive answer?
I'm guessing you want to show the last 25 tweets of twitter users that you follow. If so, then you should use statuses/friends_timeline. The url is: http://api.twitter.com/1/statuses/friends_timeline.json Hopefully this helps. - David Giamanco -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
Re: [twitter-dev] Re: display user's profile image - definitive answer?
Hi Ken, Thanks for replying and for the image url, but will I not fall into the same problem I'm having now? I would need each person on my status timeline's user id to reference that image url with but, like the profile image url, the user attribute isn't included in the json object. I'm looking to list my status user_timeline but where other user's have tweeted on my page I want to list their profile image thumbnail but my json file only lists their tweet text, created_at time and a few other attributes. I suppose, in essence, I'm tryin to recreate my status time line from when I am logged into my own account... but without acually logging in to my page! Cheers, Del -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk
[twitter-dev] Re: display user's profile image - definitive answer?
A couple of months ago, the consensus seemed to be to use tweetimag.es with user id, like so: http://img.tweetimag.es/i/8970972_o Ken On Feb 17, 1:16 pm, del wrote: > Hi All, > > New to the forum, apologies if I'm covering old ground. I've done a > search but can't find a definitive answer: > > I'm trying to develop a simple page that will display the last 25 of > my twitter feed. All I want to display is each user's profile image > (thumbnail) and their tweet. While I am new to this, this seems like a > basic development task. > > When I access my twitter's json file... > > http://api.twitter.com/statuses/user_timeline/xxxUserdIdxxx.json?coun... > > ... I do indeed get the information I need - except the > user.profile_image_url is MY profile image?? So I have 25 tweets from > different users (correct) all displaying my profile image next to them > (incorrect). Why am I not getting each user's profile image? > > I know I can check the user's profile image > viahttp://api.twitter.com/version/users/profile_image/:screen_name.format > > but as that is not the recommended solution due to rate limits what > should I do? > > Thanks in advance, > Del -- Twitter developer documentation and resources: http://dev.twitter.com/doc API updates via Twitter: http://twitter.com/twitterapi Issues/Enhancements Tracker: http://code.google.com/p/twitter-api/issues/list Change your membership to this group: http://groups.google.com/group/twitter-development-talk