Facebook.page_feed
You're seeing just the function
page_feed
, go back to Facebook module for more information.
Link to this function
page_feed(scope, page_id, access_token, limit \\ 25, fields \\ "")
View SourceSpecs
Gets the feed of posts (including status updates) and links published by this page, or by others on this page.
This function can retrieve four scope/0
types:
:feed
:posts
:promotable_posts
(Admin permission needed):tagged
A scope/0
must be provided. It is an atom, which represents the type of feed.
A limit of posts may be given. The maximum number that must be provided is 100.
Examples
iex> Facebook.page_feed(:posts, "CocaColaMx", "<Access Token>")
iex> Facebook.page_feed(:tagged, "CocaColaMx", "<Access Token>", 55)
iex> Facebook.page_feed(:promotable_posts, "CocaColaMx", "<Access Token>")
iex> Facebook.page_feed(:feed, "CocaColaMx", "<Access Token>", 55, "id,name")
{:ok, %{"data" => [...]}}
See: https://developers.facebook.com/docs/graph-api/reference/page/feed