Facebook requestwithgraphpath error> facebookErrDomain Code = 10000 "Operation could not be completed. (FacebookErrDomain error 10000.)"

I tried facebook-ios-sdk and followed the steps given here . After completing all the steps while running the applications.

[facebook requestWithGraphPath:@"me" delegate:self]; 

This does not work as I get:

Domain Error = facebookErrDomain Code = 10000 UserInfo = 0x4b65ac0 "Operation could not be completed. (FacebookErrDomain error 10000.)"

+4
source share
2 answers

This is an invalid OAuth 2.0 access token error .... You may have signed up from another device (if you have the permission "offline_access". If the access expiration date has not been exceeded).

+1
source

The same mistake came to me. At the same time, I run the application in the simulator, I also logged in to my facebook account in a computer browser. Because of this, an error may occur.

The following did the trick for me. As soon as I log out of my facebook account in my computerโ€™s browser, this particular error will disappear in the simulator (application) and will be able to get a list of friends and do the rest.

0
source

Source: https://habr.com/ru/post/1344699/


All Articles