I searched in the documentation and in the web and didn’t find anything about this.
So, when you go to an event page on facebook the list of people who are attending to the event seems to be ordered putting your friends in first place. I want to do that but I can’t figure out how.
If I make:
https://graph.facebook.com/<event_id>/attending
I get all people who are attending and it seems it is ordered by when the person clicked on ‘attending’.
If I make:
https://graph.facebook.com/<event_id>/attending/<user_id>/friends
I get all friends of the user regardless if they are attending to the event or not.
I tried a lot of connections using Graph API Explorer (https://developers.facebook.com/tools/explorer) like getting the friends of the user and then trying to match them with that event, but could’nt find the solution.
Any help? Thanks in advance.
Better to use FQL in this case. More suited to this type of nested question.
That will return all friends of the person logged in who are attending the event you specify.