by mittermayr · 14y ago · 0 comments
2) I can get IDs faster, and then theoretically use my own DB to see if I need details for that ID (i.e. follower details) from Twitter or have them stored. Problem is: I am duplicating Twitter's database, also, I had this before and the database grew to immense size and kept crashing all the time despite efforts to avoid it. Also: Celebrities have a large distribution of followers, so unlikely to save much time by seeing who's details I already got elsewhere.
3. Yes, although Twitter announced their quadrants recently, of services that will be supported by them, one of them is social analytics. This is what I do. So that should be good. But you have a point, I can't touch any money for up to 1 year in case Twitter shuts it down, I want to pay back the remaining unused time to my users. So it's frozen money.
First, just check which of the the top 100 (1000) most-followed users follow the celebrity - this will likely eliminate the heaviest hitters immediately.
For accounts with normal amount of followers, do as you already do.
For the in-betweeners,
Pick your celebrity.
For a random 1% (.1%) of his/her followers:
Retrieve list of people followed by this follower
For each user followed by a follower of the celebrity:
Increase number of people following this user by 1
For each user in the top 1% (10%, .1%) of the above table of users:
Retrieve number of followers
Report user with highest number of followers from the above
This is, of course, based on the idea that often-followed users who follow a celebrity will also have many followers among the followers of the celebrity. Results will become more accurate as you poll more followers, of course.(I don't use Twitter or their API, and the above may be completely wrong.)
I can imagine they are ok with that if your app provides value to their ecosystem.
i tried signing up through one of their partner thing forms but as expected, no response.
but as said in other comments, i'm not sure twitter is happy with someone duplicating their entire user database over time.