0

I'm having a little bit of trouble getting a lists of posts of a page on facebook...

I'm using the url to get the posts of the page

 string.Format("{0}/posts, pageid)

But I cant take the unpublished posts.. It only gets the published posts... Is there any permission I have to use... or some other parameter? I also tried like this

  string.Format("{0}/posts?is_published=false", pageid)

... Didn't work...

Can someone help me?

4

1 回答 1

0

尝试以下

<pageId>/promotable_posts?is_published=false&fields=<the fields that you want>

Facebook 图形 API 资源管理器

可推广帖子包括未发布的帖子以及常规帖子。要仅获取未发布的帖子,请将 is_published 设置为 false。

字段只是逗号分隔的字段名称,例如:fields=message,created_time,comments

文档/来源

于 2017-08-28T22:08:56.117 回答