我发现了一些关于这个错误的问题,例如this。 我根据他们做了改变。我在我的应用程序中添加了我的网址作为网站,其域名与我的网站相同。现在我点击我网站的分享链接使用此功能:
var url = 'http://callbackyou.ru/';
var title = 'kkkkkk';
var description = 'description';
var image = 'http://callbackyou.ru/img/callbackyou.ru.jpg';
function fb_share()
{
FB.init({
appId : '***',
xfbml : true,
version : 'v2.5'
});
FB.ui( {
method: 'feed',
redirect_uri: 'https://callbackyou.ru/',
name: title,
link: url,
picture: image,
caption: description
}, function( response ) {
if ( response !== null && typeof response.post_id !== 'undefined' ) {
call_soc();
}
} );
}
这不起作用我弄错了:
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.