FBSDKGraphRequest Response Issue - Not getting scores

前端 未结 4 1260
小蘑菇
小蘑菇 2021-01-27 03:19

I am using following code to get the game score of my facebook friend.

    -(void)GetFriendScore
{
    NSMutableDictionary* params =   [NSMutableDictionary dicti         


        
4条回答
  •  生来不讨喜
    2021-01-27 04:03

    Solved by using following code.

    FBSDKGraphRequest *request = [[FBSDKGraphRequest alloc]
                                  initWithGraphPath:@"/me/scores?fields=user,application,score"
                                  parameters:params
                                  HTTPMethod:@"GET"];
    

提交回复
热议问题