草庐IT

1MrDJLtZChWSOOKXDiizZCu

全部标签

ios - swift 3 facebook sdk 获取好友列表

我需要获取我所有的好友列表:我找到了这段代码:varfbRequestFriends:FBSDKGraphRequest=FBSDKGraphRequest(graphPath:"/{friend-list-id}",parameters:[AnyHashable:Any]())fbRequestFriends.start{(connection,result,error)iniferror==nil&&result!=nil{print("RequestFriendsresult:\(result!)")}else{print("Error\(error)")}}但作为返回,我得到了