How is this done? Is it even possible?
All the function calls seem correct, but the result is always false:
NSString *event = @"{\"name\":\"A party\",\"start_time\":\"1215929160\",\"end_time\开发者_如何学JAVA":\"1215929160\",\"location\":\"Somewhere\"}";
NSDictionary *params = [NSDictionary dictionaryWithObject:event forKey:@"event_info"];
[[FBRequest requestWithDelegate:self] call:@"facebook.events.create" params:params];
Maybe you need to ask about permissions:
FBPermissionDialog* dialog = [[[FBPermissionDialog alloc] init] autorelease];
dialog.delegate = self;
dialog.permission = @"create_event";
[dialog show];
精彩评论