2

我已经发布了创建调用图 api

https://graph.facebook.com/me/feed/?access_token=<token>

它返回类似: {"id":"<UID>_<POST_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吗?(隐藏帖子)如果是,它对你有用吗?;)

4

3 回答 3

2

I found a way to hide the post from facebook page.

curl -F "timeline_visibility=hidden" "https://graph.facebook.com/<POST_ID>/?access_token=<page_token>

...and it return true.

于 2013-10-02T07:59:37.757 回答
1

它仅在帖子由非管理员用户发布时才有效。

于 2013-06-19T15:40:49.530 回答
0

事后真的有可能更新帖子的隐私吗?我不确定。

您可以在初始创建时设置隐私字段。

 privacy={'value':'SELF'}

http://developers.facebook.com/docs/reference/api/post/http://developers.facebook.com/docs/reference/privacy-parameter/

于 2012-11-18T19:56:30.447 回答