为什么我在Facebook的API两种不同的权限获取的对话? [英] Why do I have two different permission get dialogues in Facebook API?

查看:134
本文介绍了为什么我在Facebook的API两种不同的权限获取的对话?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有两个网站在我的Google Apps帐户,我已经得到了他们对于Facebook的OAuth,为什么几乎相同的FB登录按钮导致不同的权限要求页。

工作

首先,从用户和按钮权限要求不会pretty页的登录取消

<$p$p><$c$c>www.facebook.com/dialog/oauth?scope=email,user_birthday&client_id=299921333363453&redirect_uri=http://www.weightfighters.com/&response_type=token

二,一来我更喜欢,并希望有我的第一个网站有pretty对话页面和按钮允许不允许

<$p$p><$c$c>www.facebook.com/dialog/oauth?scope=email,user_birthday&client_id=202378033138565&redirect_uri=http://www.loveatfirstsite.com/test/&response_type=token

我想的唯一理由是在FB不同的应用设置,但它们看起来一样的我。
可能是什么原因?


解决方案

看来,第一个启用了新的身份验证对话框

检查您的应用程序设置。欲了解更多信息,请参见本文档: https://developers.facebook.com/docs/测试/认证/

I have two sites in my Apps account and I've got them working for Facebook OAuth, why almost same FB login buttons lead to different permissions asking page.

First, not pretty page with permissions request from user and buttons LogIn Cancel.

www.facebook.com/dialog/oauth?scope=email,user_birthday&client_id=299921333363453&redirect_uri=http://www.weightfighters.com/&response_type=token

Second, the one I like more and want to have on my first site has pretty dialog page and buttons Allow Don't Allow:

www.facebook.com/dialog/oauth?scope=email,user_birthday&client_id=202378033138565&redirect_uri=http://www.loveatfirstsite.com/test/&response_type=token

The only reason I assume is different App settings in FB but they look same to me. What could be a reason?

解决方案

It seems that the first one has enabled the new auth dialog

Check your app settings. For more information, please refer to this doc: https://developers.facebook.com/docs/beta/authentication/

这篇关于为什么我在Facebook的API两种不同的权限获取的对话?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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