我正在尝试使用内置对象类型video.episode和video.tv_show向facebook时间轴发布操作。 我正在尝试发布的“对象”是http://www.trackmyeps.com/episode/QI/S09E06_53027.html。
我确实拥有publish_action权限
据我所知,所有元标记都是正确的
我确实有一个有效的access_token
所以我不知道为什么我会收到这个未知错误。有谁知道我做错了什么。
编辑: 异常的print_r:
FacebookApiException对象( [结果:protected] =>排列 ( [错误] =>排列 ( [message] =>出现未知错误。 [type] => OAuthException )
) [message:protected] => An unknown error has occurred. [string:private] => [code:protected] => 0 [file:protected] => /mnt/web7/11/43/51874443/htdocs/classes/base_facebook.php [line:protected] => 1039 [trace:private] => Array ( [0] => Array ( [file] => /mnt/web7/11/43/51874443/htdocs/classes/base_facebook.php [line] => 744 [function] => throwAPIException [class] => BaseFacebook [type] => -> [args] => Array ( [0] => Array ( [error] => Array ( [message] => An unknown error has occurred. [type] => OAuthException ) ) ) ) [1] => Array ( [function] => _graph [class] => BaseFacebook [type] => -> [args] => Array ( [0] => /me/video.watches [1] => post [2] => Array ( [tv_episode] => http://www.trackmyeps.com/episode/QI/S09E06_53027.html [access_token] => i've removed this ) ) ) )
)
网页上的元数据:
<meta property="fb:app_id" content="132426653493733">
<meta property="og:type" content="video.episode">
<meta property="og:url" content="http://www.trackmyeps.com/episode/QI/S09E06_53027.html">
<meta property="og:image" content="http://epguides.com/QI/cast.jpg">
<meta property="og:title" content="Inventive (S09E06)">
<meta property="og:description" content="No episode discription found">
<meta property="video:release_date" content="2011-10-14 00:00:00">
<meta property="video:duration" content="1800">
<meta property="video:series" content="http://www.trackmyeps.com/series/QI_143.html">