Search code examples
facebookfacebook-graph-apifacebook-group

Get facebook posts from group from others if I am NOT admin


SO, I belong to some facebook group. I am not admin and I want to get all posts from that group by others,

Idea is to filter those and get notification when someone posts something that passes filter. Example, to get notification when post containing string "laptop" is posted.

Like this:

https://i.sstatic.net/yjaYT.jpg

I tries looking into facebook API but cannot find anything if I am not admin...


Solution

  • https://developers.facebook.com/docs/graph-api/reference/v2.2/group/feed

    You can read the feed of a group with a User Access Token of any user that is member of the group, not sure what you found for Admins but they don't even get mentioned in the docs.

    Keep in mind that you need the user_groups permission, and you will most likely not get it approved:

    This permission is granted to apps building a Facebook-branded client on platforms where Facebook is not already available. For example, Android and iOS apps will not be approved for this permission. In addition, Web, Desktop and TV apps will not be granted this permission.

    Source: https://developers.facebook.com/docs/facebook-login/permissions/v2.2