Iam trying to fetch the list of Page feed from a Public page from Facebook into my Android app.
I have the Page Id and the access_token for the page. Iam trying to fetch the feed with a request using the following url:-
"https://graph.facebook.com/page_id/feed?access_token=sometoken"
But doing the above gives me the following error:-
Tried accessing non existent field (feed) on node type (Open Graph Object)
I tried it from Google chrome's Postman extension as well. Gives me the same error.
How can I solve this? Any help would be appreciated.
If the page-id is a numeric value, chances might be that you are getting the wrong value.
You might want to try using either of the below solutions :-
1) Use page username instead of the numeric page-id.
2) Replacing feed with posts.
Something like so:-
"https://graph.facebook.com/page-username/posts?access_token=sometoken"