新的OAuth窗口中的FB.uiPermissions.request问题 [英] FB.ui permissions.request issue in new OAuth window

查看:90
本文介绍了新的OAuth窗口中的FB.uiPermissions.request问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在FB.ui权限请求窗口中遇到问题.

I having an issue with FB.ui permissions.request window.

FB.ui({
method: 'permissions.request',
perms: 'publish_actions',
display: 'popup'
},function(response) {

//永远不会调用此函数? });

// This function is never called ? });

上下文: 我使用了新的OAuth窗口(带有时间轴),我已经将我的应用程序配置为可以使用它. 我是法国人,并且以法语使用Facebook.

Context : I use the new OAuth window (with timeline), i have configured my apps to work with it. I'm french and use Facebook in French.

第一个问题: -我的回调函数从不调用...

First issue : - My callback function is never called ...

第二个问题: -新的OAuth窗口似乎不是一个好的窗口. 这称为权限请求",但其中包含登录窗口的副本.并且没有显示权限请求.

Second issue : - The new OAuth window, seem to be not the good window. It's called 'permission request' but inside it is the copy of login window. And no permission request is displayed.

所以,我的问题是:如何在js中执行权限请求? 如何显示此窗口: https://developers.facebook.com/attachment/app_extended_perms.png/吗?

So, my question is : how can i do the permission request in js ? How displaying this window : https://developers.facebook.com/attachment/app_extended_perms.png/ ?

谢谢.

推荐答案

在应用的高级设置中禁用增强的身份验证对话框",然后查看其是否有效.如果您想坚持使用增强的身份验证对话框",请在此

Disable "Enhanced Auth Dialog" in your app's advance settings and see if it works. If you want to stick with Enhanced Auth Dialog then checkout Setup Auth Dialog Preview for Authenticating user section of this tutorial.

这篇关于新的OAuth窗口中的FB.uiPermissions.request问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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