facebook-graph-apifacebook-field-expansion

Get all user details from facebook event with field expansion


I want to get all the user details from an event using the field expansion.

In pseudo code i think it should be something like this.

GET https://graph.facebook.com//attending.user(name,id,picture)

I can't get this to work (testing this in the graph explorer) Don't know if this is even possible.

Thx!


Solution

  • You need to use a url like this:

    https://graph.facebook.com/EVENTID/?fields=attending.fields(id,name,picture)