1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to see all friends on mobile.twitter.com?

Discussion in 'Social Networking Sites' started by Autumn, Jan 16, 2011.

  1. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,041
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    I'm building a twitter mobile client using curl and php and right now I'm trying to scrape my own list of followers off mobile.twitter.com.

    However, it only shows the first 20 friends on http://twitter.com/myusername/followers and unlike the main tweets page, there is no "next" or "more" button! There is also no javascript on the page that would indicate where the rest of the friends are, no hidden forms etc.

    Does anyone know what the url pattern is to get the rest of the friends list off twitter mobile? Perhaps some kind soul with a smartphone and more than 20 twitter followers could have a look...
     
  2. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,041
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    Never mind, solved it. Luckily the "more" button was showing for the following list, just not for the followers list. The url format is:

    Code:
    http://mobile.twitter.com/username/followers?cursor=-1&offset=20
    and you keep incrementing the offset in increments of 20 until you run out of followers. Similar to using the API.