2013-11-22 46 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~

标记问题的错误

回答