Is it possible (using the facebook graph API) to get the last 5 posts made by a Facebook Page?
I would like to display this information in an Android app and want to avoid the overhead of using the Facebook Android SDK to avoid showing the "[App] would like to access your public profile and friend list" message because it's annoying and inaccurate.
The following call works without an auth token for example: https://graph.facebook.com/nike
But this one doesn't: https://graph.facebook.com/nike/posts
{
"error": {
"message": "An access token is required to request this resource.",
"type": "OAuthException",
"code": 104
}
}
I could scrape the HTML off of this page without an auth token but this seems like overkill for such a simple task: https://www.facebook.com/nike/posts
To summarize:
Is this really a limitation of the API?
Is there a way to suppress the "[App] would like to access your public profile and friend list" message when acquiring an auth-token with no extra permissions using the Android SDK?
Is it perhaps possible using a server-side SDK?
EDIT: Looks like the best way to do this is server-side with a long-lived App Access token.