[twitter-dev] Twitter API - Grab profile pic URL

2010-05-31 Thread Bruce
Hey Guys,

I am having trouble trying to grab my Profile Pic URL via the API.  I
am trying to grab it using the following path -
http://twitter.com/statuses/user_timeline.xml?id=username but it
returns the default profile picture (http://s.twimg.com/a/1274899949/
images/default_profile_2_normal.png) and not the custom profile pic
which is displayed on my twitter homepage.

Any ideas?

Bruce


Re: [twitter-dev] Twitter API - Grab profile pic URL

2010-05-31 Thread Mark McBride
Try using http://twitter.com/users/show/your user id or screen
name.xml instead.  The user objects in user_timeline may be stale.

   ---Mark

http://twitter.com/mccv



On Mon, May 31, 2010 at 4:40 AM, Bruce bruce...@gmail.com wrote:
 Hey Guys,

 I am having trouble trying to grab my Profile Pic URL via the API.  I
 am trying to grab it using the following path -
 http://twitter.com/statuses/user_timeline.xml?id=username but it
 returns the default profile picture (http://s.twimg.com/a/1274899949/
 images/default_profile_2_normal.png) and not the custom profile pic
 which is displayed on my twitter homepage.

 Any ideas?

 Bruce



Re: [twitter-dev] Twitter API - Grab profile pic URL

2010-05-31 Thread Abraham Williams
There is also https://api.twitter.com/1/users/profile_image/abraham.

Abraham

On Mon, May 31, 2010 at 07:45, Mark McBride mmcbr...@twitter.com wrote:

 Even better, use http://api.twitter.com/1/users/show/your user id or
 screen name.xml.  Using http://twitter.com for API calls is frowned
 upon these days.

   ---Mark

 http://twitter.com/mccv



 On Mon, May 31, 2010 at 7:45 AM, Mark McBride mmcbr...@twitter.com
 wrote:
  Try using http://twitter.com/users/show/your user id or screen
  name.xml instead.  The user objects in user_timeline may be stale.
 
---Mark
 
  http://twitter.com/mccv
 
 
 
  On Mon, May 31, 2010 at 4:40 AM, Bruce bruce...@gmail.com wrote:
  Hey Guys,
 
  I am having trouble trying to grab my Profile Pic URL via the API.  I
  am trying to grab it using the following path -
  http://twitter.com/statuses/user_timeline.xml?id=username but it
  returns the default profile picture (http://s.twimg.com/a/1274899949/
  images/default_profile_2_normal.png) and not the custom profile pic
  which is displayed on my twitter homepage.
 
  Any ideas?
 
  Bruce
 
 




-- 
Abraham Williams | Developer for hire | http://abrah.am
@abraham | http://projects.abrah.am | http://blog.abrah.am
This email is: [ ] shareable [x] ask first [ ] private.