开发者

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

开发者 https://www.devze.com 2023-03-17 19:18 出处:网络
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 k

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

精彩评论

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