I'm trying to export the events for a "closed" Facebook group using the Facebook graph API. However, I end up with an empty set:
{
"data": [
]
}
I have registered as a Facebook developer and created an "app", so I am the administrator for the app. I have also created a "closed" Facebook group, with two events, where I am an administrator.
I select my app in the Facebook Graph API Explorer, select "Get User Access Token" and give the permissions "user_events" and "user_managed_groups". (At one point, I selected all permissions, to no avail).
Querying the group object gives:
GET /v3.0/<group-id>
{
"name": "Test",
"privacy": "CLOSED",
"id": "<group-id>"
}
So I know that I have the correct group ID. However, querying events gives an empty set:
GET /v3.0/<group-id>/events
{
"data": [
]
}
Trying to list my own events gives the same result (I have a number of "accepted" events on Facebook):
GET /v3.0/me/events
{
"data": [
]
}
Have I missed something in my app setup? Have I done something wrong with the token?
edit: I have not done the app review. My goal is to read out some events for me and friends, not a business venture. Making the app 'live' is not a goal.