我已经创建了调用图 API
https://graph.facebook.com/me/feed/?access_token=<token>
它返回类似以下内容:
{“id”:“
现在我想通过 API 调用隐藏这篇文章
curl -F "is_hidden=true" "https://graph.facebook.com/<POST_ID>?access_token=<token>
但我收到了这样的回复:
{"error":{"message":"(#100) The parameter reorder_pids is required", "type": "OAuthException", "code":100}}
这里有人使用 api 来做这个吗? (隐藏帖子) 如果是,它对你有用吗? ;)
最佳答案
我找到了一种方法来隐藏 Facebook 页面上的帖子。
curl -F "timeline_visibility=hidden" "https://graph.facebook.com/<POST_ID>/?access_token=<page_token>
...它返回 true。
关于facebook-graph-api - 使用 graph api 隐藏帖子,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13435670/