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 account that is less than two weeks old. I this this would limit the number of people who make fake accounts to get on my site (after I ban their accounts).
Is this possible with the facebook API?
Facebook API doesn't provide the signup date...
You can, however find out if the user has verified their email address. Something that many bots/spammers don't really do.
Using the Graph API...a call such as this will return the "verified" field (either TRUE or FALSE):
https://graph.facebook.com/me/?access_token=&fields=verified
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With