I want to get the Seems like this API method is what I am looking for:
Unfortunately it returns an XML file that says
|
|||
feedback
|
2
| The Twitter screen name When I clicked the link you provided, I received the same error message you did, however shortly thereafter, I tried again and received what I expected to receive:
I don't know why I initially received the request to authenticate; I should have received a 404. For what it's worth I can say, after all my years of working with the Twitter API, that Twitter can be pretty flaky every once in awhile, so let's just hope your error was due to Twitter having a bad day. Since For your use case, I would suggest utilizing http://api.twitter.com/1/followers/ids/Nicolas_Raoul.xml to get up to 5,000 follower user IDs. If you have more than 5,000 followers, you'll need to make use of thecursor parameter. Documentation is here. Alternatively, you could use http://api.twitter.com/1/statuses/followers/Nicolas_Raoul.xml to get the full user objects of 100 of your followers returned in the order that they followed you. If you have more than 100 followers, you'll need to again use the cursor parameter. Documentation is here. Note that for all Twitter API calls, I recommend using JSON since it is a much more lightweight document format than XML. You will typically transfer only about 1/3 to 1/2 as much data over the wire, and I find that (in my experience) Twitter times-out less often when serving JSON. |