2013-11-22 42 views
0

我需要解析Facebook的圖形API的JSON .. json format ..這是https://developers.facebook.com/tools/explorer?method=GET&path=microsoft%2Ffeed的iOS Facebook的圖形API解析器

但解析正常的代碼如下

NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:[NSURL URLWithString:@"https://graph.facebook.com/microsoft/feed"] 
                 cachePolicy:NSURLRequestReloadIgnoringLocalAndRemoteCacheData 
                timeoutInterval:10]; 

[request setHTTPMethod: @"GET"]; 

    NSError *requestError; 
NSURLResponse *urlResponse = nil; 


NSData *response1 = [NSURLConnection sendSynchronousRequest:request returningResponse:&urlResponse error:&requestError]; 

這讓我接取因爲我們沒有使用Access token ..我如何使用訪問托克解析代碼..

什麼應該是正確的代碼來解析Facebook Graph API~

標記問題的錯誤

回答