Is there any way to get an existing random facebook uid without generating random numbers and polling https://graph.facebook.com/[RANDOM_NUMBER] to check if a user exists?
Is there any way to get an existing random facebook uid without generating random
Share
Well, Facebook sure as hell didn’t make a feature like that. That would void privacy policies.
The whole idea of a user id, is that it’s a unique incremented number in the database. The unique ID’s would only get bigger from there.
So, for example, your range could be from 1000000 – 1200000 so you poll those two boundaries to make sure they both exist. IF they do, you get the random # from there.
Of course, if Facebook removes the entire row in the db when users delete their accounts, then there will be holes in that range of numbers.