iOS中的FQL和Graph API [英] FQL and Graph API in iOS
本文介绍了iOS中的FQL和Graph 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];
have anyone used FQL of graph API in iOS? I am trying to get users posts from different groups I have read FQL documentation but I need to see an example to help me proceed? please help
解决方案
Here is an example:
NSMutableDictionary * params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
@"SELECT uid,name FROM user WHERE uid=4", @"query",
nil];
[facebook requestWithMethodName: @"fql.query"
andParams: params
andHttpMethod: @"POST"
andDelegate: self];
这篇关于iOS中的FQL和Graph API的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文