使用Facebook在Facebook中分享时共享错误191
问题描述:
我正在为Facebook创建pagetab应用程序,同时向Facebook分享内容时会显示以下错误。使用Facebook在Facebook中分享时共享错误191
An error occurred. Please try again later.
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.
我使用下面的代码
FB.ui({
method: 'feed',
name: 'Jag har blivit månadsgivare hos Hundstallet!',
caption: '',
description: (
'Hundstallet hjälper hundar som farit illa till ett lyckligt ' +
'och tryggt liv. Hjälp dem du med!'
),
link: '<?php echo $pageTabUrl;?>',
picture: 'https://hundstallet.tas.se/monthlydonor/images/share.jpg'
},
function(response) {
if (response && response.post_id) {
// alert('Post was published.');
} else {
// alert('Post was not published.');
}
}
);
如果我创建具有相同的URL到pagetab URL的Facebook开发面积画布应用程序,共享工作正常,但如果我删除画布应用程序,只保留pagetab应用程序,它显示上述错误。
答
补“与Facebook登录网站” =>网站URL地址为
添加域“应用程序域”
你将不能够,如果你跳过第一步
保存