SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Evangelist bradical1379's Avatar
    Join Date
    Feb 2007
    Posts
    442
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Twitter API and PHP

    To those of you familiar with Twitter's API, is there a way to get a users profile photo in their API? I couldn't seem to find any references in their API, but I could have been possibly search for the wrong criteria.

    Thanks.

  2. #2
    SitePoint Enthusiast
    Join Date
    Jun 2008
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi Bobby Light,

    Take a read at http://paininthetech.com/2009/01/11/...vatar-anywhere, and look for the "Using the API" section. Had this bookmarked, hope it helps.

  3. #3
    PHP/Rails Developer Czaries's Avatar
    Join Date
    May 2004
    Location
    Central USA
    Posts
    806
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you're using the Twitter API with PHP, I would highly recommend the Arc 90 Twitter API. I used it to create TwtCop, and it made the development a breeze. Very easy and good PHP5 OO code, well documented.

  4. #4
    SitePoint Addict Farrukh's Avatar
    Join Date
    Nov 2002
    Location
    United Arab Emirates
    Posts
    300
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Czaries View Post
    If you're using the Twitter API with PHP, I would highly recommend the Arc 90 Twitter API. I used it to create TwtCop, and it made the development a breeze. Very easy and good PHP5 OO code, well documented.

    Thanks for the link

  5. #5
    SitePoint Member
    Join Date
    Sep 2007
    Posts
    24
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://twitter.com/users/show/<username>.xml

    There's a node called profile_image_url. Is that what you wanted?

  6. #6
    SitePoint Member
    Join Date
    Apr 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by hamdown View Post
    There's a node called profile_image_url. Is that what you wanted?
    Thanks for the simple but helpful solution


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •