I want to get all the events from a public Facebook page: https://www.facebook.com/vaitmusik/events
Using the offical module I will always get back an empty array.
const FB = require("fb");
FB.api(
"oauth/access_token",
{
client_id: "123456789",
client_secret: "9c88casdasfdsfsdfasd",
grant_type: "client_credentials",
},
function(oAuthResponse) {
FB.api(
"/Vaitmusik/events",
{
access_token: oAuthResponse.access_token,
},
function(eventsResponse) {
/*
eventsResponse
{ data: [] }
*/
}
);
}
);
I expected to have an array with all the events.
https://developers.facebook.com/docs/graph-api/reference/page/events/
In other words, it is not possible to get Page Events.