我是facebook graph API的新手,我想获取
这样的调度程序帖子的所有详细信息full_picture
message
我用过:
GET v4.0/...?fields={fieldname_of_type_ScheduledPost} HTTP/1.1
Host: graph.facebook.com
但是,我遇到了错误:
{
"error": {
"message": "(#803) Some of the aliases you requested do not exist: ...",
"type": "OAuthException",
"code": 803,
"fbtrace_id": "A-aQAYXFbAdSX7oMYfcUP_3"
}
}
Ref。,https://developers.facebook.com/docs/graph-api/reference/scheduled-post/
答案 0 :(得分:1)
方括号和点只是占位符。
错误
c.row
正确
cells(c.row,1)
此外,您必须使用预定帖子的ID,而不仅仅是在API调用中使用“ ...”。
要获取所有预定的帖子,请使用以下端点:https://developers.facebook.com/docs/graph-api/reference/page/scheduled_posts/
示例:
fields={id,message,...}