Facebook API - 当用户创建Facebook帐户? [英] Facebook API - When user created Facebook account?

查看:121
本文介绍了Facebook API - 当用户创建Facebook帐户?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用Facebook连接用户帐户的网站。我有垃圾邮件的问题,但是。



我想限制Facebook帐户不到两周的Facebook登录。我这样做会限制做假帐户的人数(在我禁止帐户之后)。



这个API可以吗? / p>

解决方案

Facebook API不提供注册日期...



但是,您可以确定用户是否已经验证了他们的电子邮件地址。许多机器人/垃圾邮件发送者并不真正做到这一点。



使用Graph API ...这样的调用将返回已验证字段(TRUE或FALSE):



https://graph.facebook.com/我/?access_token = & fields = verified


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

这篇关于Facebook API - 当用户创建Facebook帐户?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆