dongwen7813 2014-08-21 13:22
浏览 67
已采纳

facebook SDK for PHP无法使用其他帐户登录

I have an application use this to log in.

https://github.com/facebook/facebook-php-sdk

$facebook = new Facebook(array(
  'appId'  => 'XXXXXXXXXXXXXXXXXXX',
  'secret' => 'XXXXXXXXXXXXXXXXXXX',
));

I have test on my facebook account, it works fine and facebook pop up the message

My App will receive the following info: your public profile...

The problem is when I try to use different account to log in, it return nothing.

anyone know where is the problem?

url shows https://www.facebook.com/dialog/oauth? client_id=499519323487644&redirect_uri=http%3A%2F%2Fwww.mysite.com%2FfbLogin%2Fexamples%2Fexample.php&state=fe56e342043378a4afb4593d9c13372e& sdk=php-sdk-3.2.3&scope=email%2C+user_birthday

page display nothing

  • 写回答

1条回答 默认 最新

  • dqhbuwrwq692118284 2014-08-21 14:20
    关注

    As you are using the user_birthday permission, your app needs to be reviewed by Facebook to be able to request this from non-admin/developer/tester users.

    Have a look at my answer here: Facebook me/feed can only post on developers account only

    In you case, there should be some kind of error message normally. check your console output.

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

报告相同问题?

悬赏问题

  • ¥15 乘性高斯噪声在深度学习网络中的应用
  • ¥15 运筹学排序问题中的在线排序
  • ¥15 关于docker部署flink集成hadoop的yarn,请教个问题 flink启动yarn-session.sh连不上hadoop,这个整了好几天一直不行,求帮忙看一下怎么解决
  • ¥30 求一段fortran代码用IVF编译运行的结果
  • ¥15 深度学习根据CNN网络模型,搭建BP模型并训练MNIST数据集
  • ¥15 C++ 头文件/宏冲突问题解决
  • ¥15 用comsol模拟大气湍流通过底部加热(温度不同)的腔体
  • ¥50 安卓adb backup备份子用户应用数据失败
  • ¥20 有人能用聚类分析帮我分析一下文本内容嘛
  • ¥30 python代码,帮调试,帮帮忙吧