doupi3874 2015-10-12 15:32
浏览 25
已采纳

需要Facebook api电子邮件

I am using the api (http) facebook some time now, but I detected a problem a few days ago ... There is people to withdraw permission email which then cause inconsistencies in the system.

There is no possibility to stop the login process if you have no access to email?

I was trying another solution. In the callback see if you have the email or not variable. The problem is that the user can not log in again because the facebook is already saved your preference not to allow email.

  • 写回答

1条回答 默认 最新

  • dongtaijiao7140 2015-10-12 15:45
    关注

    No, you can't stop the login process itself. After the Facebook login process, you can make a call to fetch their email from the Graph API and present an error message stating email is required. Consider permitting them to enter it into a form on your side at this point - maybe they don't want your app's emails going to the email address they use for Facebook.

    Do note that many Facebook accounts have no email address at all, as it's possible to sign up with just a phone number. Rejecting these users is generally not the best idea for user experience.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 AT89C51控制8位八段数码管显示时钟。
  • ¥15 真我手机蓝牙传输进度消息被关闭了,怎么打开?(关键词-消息通知)
  • ¥15 下图接收小电路,谁知道原理
  • ¥15 装 pytorch 的时候出了好多问题,遇到这种情况怎么处理?
  • ¥20 IOS游览器某宝手机网页版自动立即购买JavaScript脚本
  • ¥15 手机接入宽带网线,如何释放宽带全部速度
  • ¥30 关于#r语言#的问题:如何对R语言中mfgarch包中构建的garch-midas模型进行样本内长期波动率预测和样本外长期波动率预测
  • ¥15 ETLCloud 处理json多层级问题
  • ¥15 matlab中使用gurobi时报错
  • ¥15 这个主板怎么能扩出一两个sata口