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

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

问题描述

我的 Apps 帐户中有两个网站,我让它们为 Facebook OAuth 工作,为什么几乎相同的 FB 登录按钮会导致不同的权限询问页面.

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

我认为唯一的原因是 FB 中的应用程序设置不同,但在我看来它们是一样的.可能是什么原因?

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

检查您的应用设置.有关更多信息,请参阅此文档:https://developers.facebook.com/docs/测试版/身份验证/

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

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

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