Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook API - When user created Facebook account?

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?

like image 433
Matty Hill Avatar asked Nov 05 '10 06:11

Matty Hill


1 Answers

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

like image 102
Andy Avatar answered Sep 28 '22 15:09

Andy