当我从iPhone应用程序发送帖子到我的墙上时,我遇到了问题。 我已经实现了所有委托方法和方法:
-(void)request:(FBRequest *)request didReceiveResponse:(NSURLResponse *)response {
// Keep this just for testing purposes.
NSLog(@"received response");
}
我的应用有效,帖子出现在我的墙上,但我的应用没有得到任何回应并且卡在我的活动指示器上。 NSLog控制台中没有任何内容。
有谁知道,问题出在哪里?我在这里死了: - /
修改
- (IBAction)fbButtonPressed:(id)sender {
// Create the parameters dictionary that will keep the data that will be posted.
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"330334280387192", @"app_id",
nil];
// Publish.
[self.facebook dialog:@"feed" andParams:params andDelegate:self];
}
我正在使用Feed对话框进行用户输入