Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Facebook native ios login error with test user

I'm getting the following error when attempting to use the ios6 native facebook login

The Facebook server could not fulfill this access request: Temporarily unable to make API calls on behalf of XYZ

The login works fine if I remove the ios facebook user from settings and use the webview style of login rather than the built in ios way. It also works if I don't use the fb test user. I've checked the test user's permissions and it has all the read and write permissions. Are test users not allowed to use the native ios login?

Is this an error on Facebook's servers? How can I further diagnose this?

here's the full error output

2013-03-24 10:45:57.701 HelloFacebookSample[39800:19a03] FBLoginView encountered an error=Error Domain=com.facebook.sdk Code=2 "The operation couldn’t be completed. (com.facebook.sdk error 2.)" UserInfo=0xa288a00 {com.facebook.sdk:ErrorLoginFailedReason=com.facebook.sdk:SystemLoginCancelled, com.facebook.sdk:ErrorInnerErrorKey=Error Domain=com.apple.accounts Code=7 "The Facebook server could not fulfill this access request: Temporarily unable to make API calls on behalf of 10000000" UserInfo=0xa157760 {NSLocalizedDescription=The Facebook server could not fulfill this access request: Temporarily unable to make API calls on behalf of 10000000}, com.facebook.sdk:ErrorSessionKey=<FBSession: 0xa27e530, state: FBSessionStateClosedLoginFailed, loginHandler: 0x0, appID: 20000000, urlSchemeSuffix: , tokenCachingStrategy:<FBSessionTokenCachingStrategy: 0xa2742c0>, expirationDate: (null), refreshDate: (null), attemptedRefreshDate: 0001-12-30 00:00:00 +0000, permissions:(null)>}

I am using a test facebook user that has been added to the testers group of the app

like image 758
MonkeyBonkey Avatar asked Mar 24 '13 14:03

MonkeyBonkey


People also ask

Why does my Facebook app keep saying login error on iPhone?

Solution #1: Quit then restart Facebook app. If you were able to use Facebook on your iPhone before without having trouble logging in and then suddenly here comes this error, then it could be just a random in-app glitch. To clear this out, restarting the Facebook app on your iPhone should suffice.

Why does my Facebook app keep saying login error?

If you're having trouble logging into your Facebook account from your Facebook app: Make sure that you have the latest version of the Facebook app, or delete the app and then reinstall it. Try logging in from a mobile browser (example: Safari, Chrome).

What is a registered test user on Facebook?

Unlike Testers, who are real people who have been granted a Tester role on your app, test users are simulated Facebook user accounts that you can use to test your app's implementation of Facebook Login and any permissions or features your app uses.

How do you write test cases on Facebook login page?

Functional Test Cases:Verify if a user will be able to login with a valid username and valid password. Verify if a user cannot login with a valid username and an invalid password. Verify the login page for both, when the field is blank and Submit button is clicked. Verify the 'Forgot Password' functionality.


1 Answers

I don't have yet enough reputation to vote, but MonkeyBonkey is right. I was having the same issue, change the Facebook's test user to other "real" Facebook user and it worked!!

like image 76
Héctor Avatar answered Oct 27 '22 14:10

Héctor