Monday, February 26, 2018

Listing unpublished posts via Facebook API

Leave a Comment

How does one list draft posts via the Facebook API? There are endpoints for published_posts and scheduled_posts, but nothing for draft_posts. The posts endpoint seems to be the same as published_posts.

The Graph API does not seem to mention draft or hidden posts.

The page/feed documentation mentions:

/page-id/posts shows only the posts that were published by this page.

/page-id/tagged shows all public posts in which the page has been tagged.

/page-id/promotable_posts shows only boostable posts (includes unpublished and scheduled posts). These posts would show the boost button via native UI. Visit our help center to learn why a post may not be boosted.

Which covers everything except unpublished posts which are not boostable.

0 Answers

If You Enjoyed This, Take 5 Seconds To Share It

0 comments:

Post a Comment