Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我于 2010 年 6 月开始开发一个广泛使用 Facebook API 的 iPhone 应用程序。我登录并获得了一个FBSession包含登录用户的个人资料 ID 等的信息。然后我使用FBRequest该类使用FQL进行多次调用以获取数据。
FBSession
FBRequest
如何从最新的 Facebook Connect API 调用 FQL 查询?
NSMutableDictionary * params = [NSMutableDictionary dictionaryWithObjectsAndKeys: @"SELECT uid,name FROM user WHERE uid=4", @"query", nil]; [_facebook requestWithMethodName: @"fql.query" andParams: params andHttpMethod: @"POST" andDelegate: self];