{
"error": {
"message": "Unknown path components: /[your_namespace]:[your_action]",
"type": "OAuthException",
"code": 2500
}
在尝试发布动作(我已为我的应用创建的观看/电影动作)后,我收到了上述错误。
如何解决这个问题? 我试图搜索但它根本不起作用。
这是我的js代码。
OG Tutorial App function postCook() { FB.api( '/me/xxx:watch', 'post', { movie: 'http://www.rottentomatoes.com/m/the_hobbit_an_unexpected_journey/' }, function(response) { if (!response || response.error) { var output = ''; for (property in response.error) { output += property + ': ' + response.error[property]+'; '; } alert( output); } else { alert('Cook was successful! Action ID: ' + response.id); } }); } window.fbAsyncInit = function() { FB.init({ appId : 'yyy', // App ID status : true, // check login status cookie : true, // enable cookies to allow the server to access the session xfbml : true // parse XFBML }); }; // Load the SDK Asynchronously (function(d){ var js, id = 'facebook-jssdk'; if (d.getElementById(id)) {return;} js = d.createElement('script'); js.id = id; js.async = true; js.src = "//connect.facebook.net/en_US/all.js"; d.getElementsByTagName('head')[0].appendChild(js); }(document));Stuffed Cookies