如何通过Facebook iPhone sdk向好友发送对话直接消息?我已经尝试了这段代码,但不太有效。
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"I'm using the MyFBTest App", @"name",@"http://listentowebby.com/wp-content/themes/cw/images/facebook.png", @"link",nil];
AppDelegate *delegate = (AppDelegate *)[[UIApplication sharedApplication] delegate];
[[delegate facebook] dialog:@"send"
andParams:params
andDelegate:self];