Reputation: 2205
I'm trying to get the user's events and his friends events by the Graph API.
first, is there any other option getting all the friends events except sending new query for every one of them? (even if it exists in other protocols)
for( NSDictionary *friend in friends ) {
NSLog(@"sending events for %@", [friend objectForKey:@"id"]);
[facebook requestWithGraphPath:
[NSString stringWithFormat:@"%@/events&since=today&until=tomorrow&limit=10", [friend objectForKey:@"id"]]
andDelegate:self];
}
second, can I get ALL the user's events and not just what he has marked attendance status for?
Thanks!
Upvotes: 0
Views: 456
Reputation: 18016
First of all you have to take Extended Permission of user_events and friends events. As for as your second part of question is concerened you can query to event_member table to get status. hope it will work
Upvotes: 1