I’m able to get a list of all attendees using the Facebook SDK,
FB.api("/{event-id}/attending",
function (response) {
if (response && !response.error) {
/* handle the result */
}
}
);
I need to retrieve my friends who are attending an event using graph API.
There is a way to achieve this with FQL but I don’t know how to implement it.
I need the solution using Java Script.
2
Answers
It seems that you need first to get list of all users attending to the event and filter it – so that only user’s friends should be left in this list
You can now no longer request event attendees without one of the event admins’ access keys (see Graph api reference). As facebook also removed the option to access friends’ events for privacy reasons, there is currently no way of doing this solely via the Graph API.