How do I query all locations/coordinates from all posts in a certain (open) Facebook group?
I need them to map the users locations for some kind of research.
I tried searching the documentation and here but couldn't find it. Also tried in Facebook graph:
group_id/feed?fields=id,name,coordinates
but it only gives me a weird number, e.g.:
{ "data": [{ "id": "groupid_913215315438636"}
That "weird" number is the group id. Since there is no coordinates field for the feed object you do not find it in the docs.
Messages posted to a group feed do not include any GEO data, only objects tagged within a message (like a place or a page) can have GEO data.
Besides that the user object also does not include GEO data, but only a location id, but to query that you need the user's permission. So it's not possible to get the user's location data from a Facebook group feed that way.