我在我的 iPhone 应用程序中使用以下代码在 Facebook 上自动共享,但是EXC_BAD_ACCESS
当我点击共享按钮时,我的应用程序会因消息而崩溃。
NSMutableDictionary *variables = [NSMutableDictionary dictionaryWithCapacity:4];
[variables setObject:@"Yours content to be shared" forKey:@"message"];
// share prepared content to fb
fb_graph_response = [fbGraph doGraphPost:@"me/feed" withPostVars:variables];
NSLog(@"postMeFeedButtonPressed: %@", fb_graph_response.htmlResponse);
帮助我提前谢谢。