I have a website which uses Facebook connect for user accounts. I\'m having some problems with spam, though.
I\'d like to restrict Facebook login from any Facebook a
Calling the Facebook API is a (relatively) slow operation; especially if you have to call it multiple times. So, when possible, it is a good idea to get the information you need, without making API calls.
You may take a look at http://metadatascience.com/2013/03/11/inferring-facebook-account-creation-date-from-facebook-user-id/. It explains how to figure out the creation date of a Facebook account without having to call the Facebook API, just based on the user’s Facebook UID. You can also download here the lookup table showing the correlation between Facebook UID and Facebook Account Creation Date.