{
"error": {
"message": "Unknown path components: /[your_namespace]:[your_action]",
"type": "OAuthException",
"code": 2500
}
在尝试发布操作(我已经为我的应用程序创建的观看/电影操作)后,我收到了上述错误。
如何解决这个问题呢?我试图搜索,但它根本不起作用。
这是我的js代码。
OG 教程应用程序 函数 postCook() { FB.api( '/me/xxx: 观看', '邮政', {电影:'http://www.rottentomatoes.com/m/the_hobbit_an_unexpected_journey/'}, 功能(响应){ if (!response || response.error) { 变量输出 = ''; for(response.error 中的属性){ 输出 += 属性 + ':' + response.error[property]+'; '; } 警报(输出); } 别的 { alert('Cook 成功!Action ID: ' + response.id); } }); } window.fbAsyncInit = function() { FB.init({ appId : 'yyy', // 应用 ID status : true, // 检查登录状态 cookie : true, // 启用 cookie 以允许服务器访问会话 xfbml : true // 解析 XFBML }); }; // 异步加载 SDK (函数(d){ var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;} js = d.createElement('脚本'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js"; d.getElementsByTagName('head')[0].appendChild(js); }(文档));酿饼干