【发布时间】:2019-02-24 14:37:46
【问题描述】:
我们正在使用 Facebook 应用程序的内置“读取”操作,将活动 '... read an article' 发布到用户的时间轴上。该发布适用于该应用的所有开发者。
但是,当我们尝试使用“Auth Dialog Preview User”进行发布时(Facebook 使用它来批准操作的使用),发布失败并出现以下 OAuthException:
{"Code" : 2, "message": "An unexpected error has occurred. Please retry your request later."}
这导致我们提交的待批准操作被拒绝:"We are unable to test this action according to the usage instructions you provided."
关于什么可能导致上述错误的任何想法?
以下是我们发布操作的方式:
FB.api(
'/me/news.reads',
'post',
{ article : uri },
function(response) {
if (!response || response.error) {
console.log('Error occured while publishing as an article!');
console.log(response);
} else {
console.log('Post as an article was successful! Action ID: ' + response.id);
}
});
【问题讨论】:
-
我在尝试在我的应用上与测试用户发布活动时也遇到了同样的问题。我的生产应用程序未启用沙盒模式,并且测试用户失败。我收到“您请求的某些别名不存在”或“发生意外错误。请稍后重试您的请求”。
-
这个问题似乎是题外话,因为它是关于 Facebook 应用程序的批准,而不是编程。
标签: facebook facebook-opengraph