我正在尝试使用SLRequestiOSAPI获取facebook数据,这似乎工作正常-NSDictionary*parameters=@{};NSURL*feedURL=[NSURLURLWithString:@"https://graph.facebook.com/me/home"];SLRequest*feedRequest=[SLRequestrequestForServiceType:SLServiceTypeFacebookrequestMethod:SLRequestMethodGETURL:feedURLparameters:parameters];feedRequest
我尝试了以下代码来获取登录iOS设置Facebook的人的电子邮件。请帮助我如何从SLRequest获取电子邮件。-(void)getMyDetails{if(!_accountStore){_accountStore=[[ACAccountStorealloc]init];}if(!_facebookAccountType){_facebookAccountType=[_accountStoreaccountTypeWithAccountTypeIdentifier:ACAccountTypeIdentifierFacebook];}NSDictionary*options=@{AC
我需要使用SLrequest访问直接消息。我使用twitter的ReverseoAuth获得了oAuthToken和oAuthTokenSecret。现在我需要知道如何从https://api.twitter.com/1.1/direct_messages.json中获取直接消息网址。我尝试添加oAuthToken和oAuthTokenSecret部分SLRequest但我得到同样的错误,“不允许此应用程序访问或删除您的直接消息”。oAuthToken和oAuthTokenSecret有什么用?如何使直接消息适用于该应用程序?我已将应用程序的访问级别更改为“读取、写入和直接消息”。请帮