Facebook connect integration error - iphone

I am integrating facebook into my iPhone application.
Single sign on method works when i sign in via safari.
But after i install facebook app and click "Connect to Facebook", app taking me to Facebook app. And there is a error message on top
" is misconfigured for Facebook login. press okay to go back to the application without connecting it to facebook"
What might be the problem?
Please advice, Thank you.

So, this is probably going to sound like two of the lamest potential fixes ever, but I just had this problem...
I went from using the previous version of Facebook iOS SDK to the newest one, and one of the few things changes I made was adding the FacebookAppID && 4*******7. So, I deleted the APP ID and tried again and it worked. I recommend you check the AppID and spelling of FacebookAPPID in your plist.
Do you have multiple versions of your App on your simulator or device? Delete the old one and it might fix it, it was kicking me over to an older version of my app, and trying to resign me into the app when I was already signed in.
Hope it works for you,
Eva

Related

"App not setup: This app is still in development mode" Ionic 4 Facebook login

I Created my Ionic 4 app with facebook login
everything is fine expect when I make login with facebook
I got thes message "App not setuo: This app is still in development mode"
and my app is already in live mode
I don't know if this is a facebook bug or something wrong with my app?
If app is live mode, check if the app id in packages.json is the same as that in the facebook console.
If so, then check it in both files: platforms\android\android.json and platforms\android\app\src\main\res\values\facebookconnect.xml. If you have changed it before, sometimes it dont get changed in these files.
I solved it by removing the platform and added it again

Facebook Login: App not setup: this app is still in development mode

When I try to use Facebook login during development I have this message appear in the web browser.
First, I got added to the Facebook app. This could solve the problem but I was still seeing this message. What I came to find was that I had previously signed into a different Facebook on the simulator I was testing on. After going to Safari and logging into the account associated with the Facebook app everything worked as planned.

App review link not working anymore

Like many other developers I have a link in my app which takes the user to review my app in the app store (App store link for "rate/review this app"). In iOS7 GM and all of the betas, this link is broken (it currently takes you to a blank white screen in the app store).
I was hoping that it would be fixed by the time of the official release of iOS7 today, but that is not the case. Does anyone know if Apple will restore this link, or if they've mentioned anything about it?
Old style of review url (which contains something like WebObjects/MZStore.woa/wa/) will not work properly on iOS7. You have to use the new format of app store url instead, something like
itms-apps://itunes.apple.com/app/idAPP_ID
will work well.
You can see the issue discussion of some popular rating framework to get more information about it, maybe this or this
If your app is not on the appstore, then you will get null response when you try to open the URL of your app right now.
Once your app will be in "Ready For Sale" status, then you will be directed to the app review page of the app.
For iOS9...
Our link like this BROKE on iOS9: http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=501...
But we FIXED it by change to itms:
itms://itunes.apple.com/WebObjects/MZStore.woa/wa/viewContentsUserReviews?id=501...

App is misconfigured for Facebook login IOS Facebook app installed

I saw this linkenter link description here
But it doesn't solve my problem.
I downloaded the latest Facebook sdk 3.1.1
The original SessionLoginSample provided with sdk works fine.
I made the following changes and the result is: App is misconfigured for Facebook login
Where is my mistake?
I created a new sample Facebook app following step by step the Facebook doc:
Facebook App Image on Flickr
I loaded in xCode the original SessionLoginSample and I changed only the bundleId and the Facebook ID:
xCode plist image on flickr
i experienced the same problem many times.
First make sure you have your Facebookappid set in your property list correctly.
Then go to facebook account settings and delete your ios app from applications.
then go to developer settings of facebook for your ios app.Make sure the app id is correct and also make sure that the bundle identifier is also same as your propertylist in xcode.It should be working afterwards
UPDATED : You do not need to delete the app.Try delete the app from your Facebook settings first.Then go to your Facebook app on iOS and log out.Remove your own app from the device and reinstall (without loving in to your account).Then you try to connect from your own app Facebook will prompt and ak your username and password and it will not return to your app.You clsoe the app and return to your own app manually.When you try to connect again in your own app FB it will ask you for permissions.
I reproduced the problem somehow and fixed like this.
By the way i also set the App Type: setting in advanded settings to Native/Dssktop.
Make sure you configured your app properly as per the following guidelines https://developers.facebook.com/docs/getting-started/facebook-sdk-for-ios/3.1/ Check whether you bundle id is as per you configured in the Native ios settings of app configuration.

Facebook Authorize not working on free version of app

I have a free and paid version of my app on itunes but as the free version has in app purchase I cant use the same bundle id across the two apps and therefore the only way I can see of adding facebook to the free app is having a second facebook app registered?
I have done this but for some reason when calling [facebook authorize: permissions] my app boots up the facebook app but returns straight away to my app, not getting in to any of the handleOpenUrl functions or even asking the user for permissions. The code is identical line by line to the paid version of my app with the only difference being the appID that is used. Any ideas what would cause this? Facebook did work on both apps until the recent updates.
After further playing around with this code I have found it works if I tell it to not use the FB App and to instead use safari authorisation. Still failing to see why I can use the app on one app but not another :s
Log in to developers.facebook.com and check your iOS bundle ID for your free app carefully. Make sure the bundle ID you tell Facebook is exactly what your app thinks it is. If it's not identical, the new Facebook app will not allow your app to authenticate.
You can have multiple iOS apps use the same Facebook app. Check this link..
https://developers.facebook.com/docs/mobile/ios/build/#multipleapps
There are three steps:
Add the additional bundle id in your apps "iOS Bundle ID" file in your faceBook app settings.
Then in your iOS apps, use the 'urlSchemeSuffix' option in the 'initWithAppId' method.
Modify the URL Schemes property in the info.plist.
The link explains it in detail. No need to register a 2nd app with Facebook.
Hope this helps.