我正在尝试提交一个名为“Watch”的内置 Facebook Open Graph 操作,但是我不断收到 Facebook 测试帐户用户的错误,并且无法弄清楚为什么 Facebook 拒绝他们自己的“操作”和他们自己的“测试用户” “?
根据 Facebook,如果不使用测试用户帐户,您将无法提交其内置的 Facebook 操作:
Built-in Action Types require that you provide instructions for using your app's Open Graph integration as your Open Graph Test User in a functioning test environment. Failure to provide a functioning test environment will result in rejection of your Action Type.
我有两个测试帐户并选择了“启用 Ticker”按钮,但是当我使用测试用户帐户发布到用户时间线/代码时,我仍然收到此错误:
statusCode: 500
headers: { 'access-control-allow-origin': '*',
'cache-control': 'no-store',
'content-type': 'text/javascript; charset=UTF-8',
expires: 'Sat, 01 Jan 2000 00:00:00 GMT',
pragma: 'no-cache',
'www-authenticate': 'OAuth "Facebook Platform" "unknown_error" "An unexpected error has occurred. Please retry your request later."',
'x-fb-rev': '645172',
'x-fb-debug': 'YwWqAJLmmVbUhG20kfBzoFaX8vlQ/BH25Xzh3CnakOk=',
date: 'Thu, 11 Oct 2012 08:31:40 GMT',
connection: 'keep-alive',
'content-length': '123' }
这就是我要发布的内容:
{"host":"graph.facebook.com","port":"443","path":"/me/video.watches?access_token=AAAClql9ZBqlMBAExxkqIGs08NBFJ9FKVfEhQmc5C1ZCBZALgPPsVbMuaOXXsYRaAavX2AsjUWZB2IYTkXm8cyjHAJJqNypbZBKPUlnr5FugZDZD&video=https%3A%2F%2Fpazooza.azurewebsites.net%2FpazoozaVideo%3FogType%3Dfacebook%26id%3D0000000000000000000000000000000000000000000000000000000000000000000000000000000000999999999999999999_0000000000000000000000000000000000000000000000000000000000000000000000000000000000999999999999999991","method":"POST"}
愚蠢的是,它适用于普通(真实用户)帐户,但不适用于 Facebook 自己的测试帐户。任何人都知道他们认为问题可能是什么?我还需要为这些测试帐户启用其他功能以使它们使用操作吗?
干杯
更新:我还检查了权限 = {"data":[{"installed":1,"publish_actions":1,"user_videos":1,"bookmarked":1}]};
所以权限不是问题。我已经删除了测试用户并重新创建了另一个,但仍然没有运气......