开发者

API: Top 100 twitter users in a country (rank by followers)

I would like to get a list of top 100 twitter users by country/ location (ranked by the number of followers they have). I can't see how I can achieve this using the Twit开发者_高级运维ter API but I know that it cane be done because sites like http://twittercounter.com are doing it.

Can you please help?


Yes, you are right. Twitter doesn't provide location-based filtering. Though twitterCounter has done it. How? I don't think they are dependent on Twitter to fetch the user's location. There might be many approaches but below is the one I could think of.

  1. a)Have different account based on location/country and follow users who have maximum followers. b)Now use twitter API to fetch friend with maximum followers. Store in DB and run above cron job on the specific time period.

2)Fetch Ids of possible users having maximum followers and maintain their location manually. I don't know why twitter doesn't provide such a basic feature but we may expect to see in future API release.

Additionally, I would like to listen if anybody has precise knowledge of how they have location-based stats.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜