FQL and Graph API in iOS

前端 未结 2 612
陌清茗
陌清茗 2020-12-08 23:54

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 proce

2条回答
  •  粉色の甜心
    2020-12-09 00:36

    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];
    

提交回复
热议问题