skip to Main Content

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


  1. 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

    https://graph.facebook.com/v2.10/event-id/?fields=attending
    
    Login or Signup to reply.
  2. 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.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search