如何为此Facebook请求添加摘要?

时间:2015-05-20 14:21:36

标签: ios facebook facebook-graph-api

我已经通过此请求获得了照片,但是我想添加一些总结,以便返回给我总计喜欢的数量:

 NSString *path=[NSString stringWithFormat:@"/%@/likes",IdPhoto];
  [FBRequestConnection startWithGraphPath:path
                                 parameters:nil
                                 HTTPMethod:@"GET"
                          completionHandler:^(FBRequestConnection *connection,
                                              id result,
                                              NSError *error)
     {


     }];

我如何添加它?

1 个答案:

答案 0 :(得分:0)

尝试拨打此电话:

"/%@/likes?summary=true"

来源:https://developers.facebook.com/docs/graph-api/reference/v2.3/object/likes#read