0
我在我的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);
幫我提前謝謝。
檢查出你是否在變量中獲取數據? – 2013-03-26 08:33:59