In my iOS app, I get an access token using the following code:
[self.facebook authorize:[NSArray arrayWithObjects:@"user_events",
@"friends_events", nil]];
I then request my events with the following code:
[self.facebook requestWithGraphPath:@"me/events" andDelegate:friendsVC];
But as a response, I only get events I have RSVP’d to. I would like to get all my events including those I have not RSVP’d to.
Any ideas?
You can get list of events regardless of their RSVP status with next FQL query:
This will not return RSVP status for each event but just events details. You may wish to use Batch Requests to get both details of events and
rsvp_statuswith same query.See
eventandevent_membertable documentation for details on other fields you may wish to retrieve.Notes: