Hi Del,

I think there's some conflict in what you say you're trying to do. You say
you're trying to share the last  25 statuses of your Twitter feed, which
makes me think that you want to share the Tweets that you've authored -- and
you're using the statuses/user_timeline method which is right for that
scenario (though it's better form to use the URL format
statuses/user_timeline.json?id=UserId )

But then you say that you want to display each user's profile image -- but
that the image is the same for each status -- which is consistent with
expected behavior in a user_timeline for a single user -- it's a single
user's tweets, after all.

Were you expecting to see retweets included in the output as well? If so,
you'll need to use the include_rts=true parameter also and examine the inner
statuses (and their inner user objects) for the originating author's avatar.

Taylor

@episod <http://twitter.com/episod> - Taylor Singletary - Twitter Developer
Advocate


On Thu, Feb 17, 2011 at 4:16 AM, del <del1...@googlemail.com> 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?count=25&callback=
> ?
>
> ... 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 via
> http://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
>

-- 
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

Reply via email to