I tried the facebook-ios-sdk and followed the steps given here. After following all the steps when I executed the applications.
[facebook requestWithGraphPath:@"me" delegate:self]开发者_如何学编程;  
This doesnt seems to be working as I'm getting:
Error Domain=facebookErrDomain Code=10000 UserInfo=0x4b65ac0 "Operation could not be completed. (facebookErrDomain error 10000.)"
This is an Invalid OAuth 2.0 Access Token error....You might have logged from another device (if you have "offline_access" permission.if not access token expiry date exceeded).
The same error came to me. At the same time i am running the app in simulator, i also logged into facebook account in the computer browser. The error may be because of this.
The following did the trick to me. Once i logged out of the facebook account in computer browser, this particular error is gone in simulator(app), and able to get the friends list and do the rest.
 
         
                                         
                                         
                                         
                                        ![Interactive visualization of a graph in python [closed]](https://www.devze.com/res/2023/04-10/09/92d32fe8c0d22fb96bd6f6e8b7d1f457.gif) 
                                         
                                         
                                         
                                         加载中,请稍侯......
 加载中,请稍侯......
      
精彩评论