is it possible to get the public facebook wall feeds when not logged in?

♀尐吖头ヾ 提交于 2019-12-06 07:41:58
Costi Muraru

To access feed connection of user you need read_stream permission which automatically means it can't be accessed by unauthorized users.

You can however access posts connection of user using any valid access_token which includes only user's own posts. Accessing it with access_token other than one for owning user will return only public posts.

You may use application access_token to access it for unauthorized users.

For pages feed connection may be accessed the same way, using any valid access_token

BTW, application access_token may be either in "new format" or old APP_ID|APP_SECRET format.

Yes you do need an access token, even if the posts are public and you can view the page publicly even if not logged into Facebook.

Most companies do this because if people starting mis using the API they can block people based on the token.

However I want to point out that @Costi Muraru is correct in that you can gather the posts of the page via the feed using the URL they mentioned in their post.

+1 to Costi Muraru on his beautifull posted link :http://www.facebook.com/feeds/page.php?id=15087023444&format=json I thank you for that amigo.

I have found an alternative, I use the following :

uri = "https://graph.facebook.com/search?q=" + wall_id + "&type=post";

Hope this helps anyone

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!