SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Aug 2009
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Twitter API question??

    Hey guys,

    Wondering if any Twitter API developers can point me in the right direction. Long time PHP developer and am just getting into the twitter API.

    Quick question... How is this done? http://twitterholic.com/top100/followers/

    Basically it is a list of twitter users sorted by the number of followers they have, thus showing the most popular twitterers.. Is it a database which is periodically updated or is their anyway to get this info from a request to the API?

    Any Ideas?

    Cheers,

    Stu
    Stuart

  2. #2
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,578
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You can't get a list of top users from the API. They're maintaining their own database and keeping it updated (through the API).

  3. #3
    PHP Guru lampcms.com's Avatar
    Join Date
    Jan 2009
    Posts
    921
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Have you tried asking this on official Twitter developers mailing list? There is always someone from Twitter dev team who can answer questions like this one.

    When I had questions about the API, I got all the questions answered there pretty fast.
    http://groups.google.com/group/twitter-development-talk
    My project: Open source Q&A
    (similar to StackOverflow)
    powered by php+MongoDB
    Source on github, collaborators welcome!

  4. #4
    SitePoint Enthusiast
    Join Date
    Sep 2009
    Posts
    73
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by StuartC View Post
    Hey guys,

    Wondering if any Twitter API developers can point me in the right direction. Long time PHP developer and am just getting into the twitter API.

    Quick question... How is this done? http://twitterholic.com/top100/followers/

    Basically it is a list of twitter users sorted by the number of followers they have, thus showing the most popular twitterers.. Is it a database which is periodically updated or is their anyway to get this info from a request to the API?

    Any Ideas?

    Cheers,

    Stu
    Stuart
    Page Scraping?

  5. #5
    Follow Me On Twitter: @djg gold trophysilver trophybronze trophy Dan Grossman's Avatar
    Join Date
    Aug 2000
    Location
    Philadephia, PA
    Posts
    20,578
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    They don't need to page scrape. If you're the developer of a Twitter application you apply for whitelist status that lets you make ~20,000 API requests per hour. Since you can get the follower count of multiple users in one request, that's enough to keep a database like that up to date.


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
  •