Login with Facebook error on iOS 7 app after permission granted - ios

My app just went live on App Store, but some users are experiencing some weird behavior.
It has a 'Login with Facebook' button provided by Facebook SDK for iOS and asks for dozens of permissions.
After tapping OK button, it doesn't do anything and stays logged out.
This never happened to me or beta testers, and I know others that downloaded the app from App Store that don't have any problems.
Does anyone have any idea? And why is it user specific error?
I'll post some codes later if there is a need for it.
I properly set the delegate and provide delegate methods!
Thanks For Help!

So I figured out the problem.
Turns out some users didn't have their current password in iOS Settings for Facebook account.
After updating Settings->Facebook->UserAccount->Password with the current one, they all were able to log in in my app!
Just in case if anyone encounters this.

Related

iOS Facebook login dialog doesn't close for some reasons

I am trying to add Facebook login to my app through Firebase and the Facebook SDK.
I've been spending hours trying to implement it but every time I have the same issue: The login window won't close until I click OK, so the login fails (canceled by user).
I tried to implement it in a clean app with the same Facebook configuration (same FB app, same bundle ID) and TADAA, it works as expected.
I checked the FB configuration 10 times. I removed everything and tried again, but no luck, it's not working.
It is probably due to an external conflict within my iOS app but I have no clue about where to start digging.
I don't even know what code I could post to help you as it's pretty straightforward and the exact same code in a clean app works.
Any idea?
It came from the fact that Firebase swizzles AppDelegate
It worked by changing FirebaseAppDelegateProxyEnabled

My app always asks me to open TuneIn Radio when I press Login Facebook button?

I have downloaded this morning in trial mode.
(I didn't connect my Facebook with TuneIn.)
Then, My app cannot login with Facebook anymore :(
It always appears alert popup to open TuneIn Radio
I try to delete TuneIn Radio, so I can login with Facebook.
But, when I installed TuneIn Radio, my app will ask to open TuneIn Radio.
???? What should I do?
4/26 Update: TuneIn v9.7 update fixed the issue.
Update: TuneIn replied, acknowledged it's a known issue, and will fix it in an imminent release.
We have users complaining that, too. I can confirm they made the mistake by extracting TuneIn Radio / TuneIn Radio Pro v9.6 ipa file and checking Info.plist inside. I have contacted TuneIn Radio by sending email with their help center:
This is a technical issue related to iOS App.
Your URL Scheme contains fbauth2, which makes ANY facebook login redirect to your app, if Facebook iOS SDK in use is prior to v4.6.0. I believe it's a mistake, please update your apps to correct that.
Hope it'll get fixed shortly. Better with Expedited App Review...
For your case, it'll be much simpler by just updating your Facebook iOS SDK to the latest version, so SFSafariViewController will be used for facebook login. Other issues should be fixed, too, I guess.
4/28 More related update: The latest update of HERE Maps v1.2.0 just made the same mistake... endless.

FBLoginView works on iPhone Simulator, but not on actual device

I have created an app that allows a user to login using facebook via the FacebookSDK. I can successfully login while running the app on the iPhone Simulator as an iPhone 5 or 5S (i haven't tried any other devices). But, when I run the app on my iPhone 5 the FBLoginView doesn't work. More specifically, when I tap the view (the 'Log In' button) the color changes to a slightly darker blue to acknowledge that the touch was received, but nothing else happens. Normally, a browser would open and request my Facebook credentials, but that does not happen.
Any ideas on what the problem might be?
FYI, I am using XCode 6 Beta 5.
Update:
I took John's advice in the comments below and uninstalled the Facebook app and I also deleted the OS Facebook account. This worked for me. My app correctly received the callback from Safari. I re-installed the Facebook and tried it again and my app still worked (receiving the callback from the Facebook app).But, when I logged back into the OS Facebook account my app no longer received the callback.
I am currently using the supplied FBLoginView. I think from this point I will implement a custom login view for Facebook so that I can apply breakpoints on each of the functions.
I am wondering at this point if this isn't an issue with the Beta version of iOS 8. I am not entirely convinced that it is because I have been unable to find mention of other developers having this same issue. Just a thought
If you're using the Facebook SDK, login events are handled differently depending on the environment. You may want to check all callbacks as the Facebook SDK can use the settings fb credentials, pages app, Facebook app, or web view to log in...
The issues cleared themselves up. They appear to have been related to the beta release of Xcode or the Swift language.

Why is the Facebook SDK for iOS throwing the "FBErrorCategoryUserCancelled" error when the user has not canceled?

There was a similar question to this one posted not so long ago but it appears that the Apple Review team had messed up in that case. I have the same problem myself in that when clicking the "Log in with Facebook" button nothing happens, and since adding the error handling code taken from Facebook developer section the console is logging user cancelled login if when someone who has the Facebook app on their phone already tries log in via my app.
If they have not got the Facebook app on their phone is uses Safari by default, and works perfectly.
Does anybody know why this might be the case? And if so a fix to allow it to work correctly.
This seems to be an issue when using Facebook iOS SDK 3.13.1. I upgraded to
Facebook iOS SDK 3.14.1 and this problem went away.

App Not Setup: The developers of this app have not set up this app properly for facebook login even app was released

I developed a game by Unity 4.3 with Facebook Official SDK Plugins for Unity, and the game was released a few weeks ago, and work fine. However, I got a few report that players cannot login to facebook and got this error message. I tried to logout from facebook and login again, but I got this error.
I am very sure that my facebook app is NOT in sandbox mode and the option is YES in status and review, but I still get this error. any idea for me ?
Thanks you !
You have to make sure for below points to be correct:
Is your app submitted in developers.facebook.com
Have you filled correct details of the app in developers.facebook.com.
Is the app made Live for all users in developers.facebook.com.
Please go to Settings tab, and enter the Contact email address. Then the app goes to live, and it will work.
Do This:
Your App is not Live for All User's, so make it Public.
Follow the below steps:
Go to Apps and select your APP.
click on the Status & review.
select "YES" access public.
click confirm button to finished.
Now your app will be public.
Run the code :)
Hope it will help you.

Resources