这是怎么做到的?它甚至可能吗?
所有函数调用看起来都是正确的,但结果总是错误的:
NSString *event = @"{\"name\":\"A party\",\"start_time\":\"1215929160\",\"end_time\":\"1215929160\",\"location\":\"Somewhere\"}";
NSDictionary *params = [NSDictionary dictionaryWithObject:event forKey:@"event_info"];
[[FBRequest requestWithDelegate:self] call:@"facebook.events.create" params:params];
答案 0 :(得分:1)
也许您需要询问权限:
FBPermissionDialog* dialog = [[[FBPermissionDialog alloc] init] autorelease];
dialog.delegate = self;
dialog.permission = @"create_event";
[dialog show];