Facebook-错误消息:redirect_uri不属于该应用程序 [英] Facebook - Error Message: redirect_uri is not owned by the application
问题描述
我正在尝试使用FB.ui()将请求发送给朋友.我的应用是iframe标签应用(不是CANVAS应用),因此在我的开发人员部分中,我仅填写了基本信息"和页面标签"部分(在Facebook区域中没有此应用),因为我不想让用户成为能够直接转到应用程序.
I am trying to use the FB.ui() to send apprequests to friends. My application is a tab iframe app (NOT A CANVAS APP) so in my developers section, I only have the "Basic info" and "Page Tab" section complete (not the app on facebook area) as I do not want users to be able to directly go to the application.
昨天,当我为我的应用程序完成了Facebook区域的应用程序时,FB.UI()正常工作,但是将其删除时,出现以下错误:
the FB.UI() worked yesterday when I had the app of facebook area completed for my app, but when removing it I get the following error:
API错误代码:191 API错误描述:指定的URL不属于应用程序 错误消息:redirect_uri不属于应用程序.
API Error Code: 191 API Error Description: The specified URL is not owned by the application Error Message: redirect_uri is not owned by the application.
我用来发送消息的代码是:
The code I am using to send the messages is:
FB.ui({method: 'apprequests',
message: 'Play RCS Let\'s make it happen game!'
}, function(data) {
$("#sendToFriends").fadeOut();
$("#didyouknow").fadeIn();
console.log(data);
});
我不介意填写"Facebook应用程序"的区域,但是这是必需的,然后使上面的消息通知url成为应用程序的位置或应用程序的安装位置的页面标签吗?
I dont mind completing the area for the "App of Facebook", but is that required and does that then make the above message notification url the app location or the page tab where the application is installed?
任何帮助都可以!
推荐答案
在选项卡设置"中填充App Domain:
和Site URL:
字段.那将帮助您解决问题.并且必须确保重定向URL与您指定的域匹配.
Populate the App Domain:
and Site URL:
fields in the Tab Settings. That will help with your problem. And you have to be sure that the Redirect URL matches the domain you specify.
这篇关于Facebook-错误消息:redirect_uri不属于该应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!