There are so many question on the related topic but all of them ends with either complex or no solution. So here I am trying to make the things simpler so that I can get a simple answer. So please think again before marking this question duplicate, if you are thinking so.
Suppose, There is a public page, say "omgfactsonline", whose page id is "237061956027"
By the hitting the following URL, we can get very basic posts
https://www.facebook.com/feeds/page.php?id=237061956027&format=json
or
https://www.facebook.com/feeds/page.php?format=rss20&id=237061956027
As I said, the result json/xml only contains basic data (no details e.g. like count, type, comments count), which is not sufficient.
On Facebook Graph API Explorer, if i hit the path @"/237061956027/posts" with some sample token, I get the desired result.
So for the iOS app, as per Facebook developer site, the way to get the proper posts is
/* make the API call */
[FBRequestConnection startWithGraphPath:@"/237061956027/posts"
parameters:nil
HTTPMethod:@"GET"
completionHandler:^(
FBRequestConnection *connection,
id result,
NSError *error
) {
/* handle the result */
}];
But problem with this code is, it needs an access token, which in an iOS app, can be only get after user authentication. As this is a general public page to get the posts from, so it does not make sense to ask user to login.
Please suggest me, how can the desired aim can be achieved.