我正在建设应用程序有功能,当使用分享在Facebook上他们将得到Facebook共享返回空数据甚至用户登录应用程序
点从这个动作。通过检查这一点,我会检查如果Facebook响应POST_ID
,但对我来说空车返回时登录的用户的应用程序就像斯克罗普
“publish_actions”。我四处搜寻,但我不能看到任何帮助?这是我的
代码
FB.login(function(response) {
if (response.authResponse) {
console.log(response)
FB.ui({
method: 'share',
href: url_here,
}, function(response) {
console.log(response);
});
} else {
console.log('User cancelled login or did not fully authorize.');
}
}, { scope: 'publish_actions', return_scopes: true });
有什么建议?
感谢。
你的控制台说什么? – Rayon
它显示空阵列 – user3610632