简体   繁体   中英

iOS Facebook SDK 3.0 Login not redirecting to origin app

I recently updated my ios app to facebook sdk 3.0.

I did everything like describes here: https://developers.facebook.com/docs/howtos/login-with-facebook-using-ios-sdk/

When I hit the Login with Facebook button everything works fine. The FB app is coming up, asks me for permissions BUT -> it doesn't redirect to come back to my app. It just stays with the FB app.

With the old SDK everything worked fine. Is it that the new SDK is not working with iOS 5?

I don't even know how to debug this...

Thanks for any kind of help!

UPDATE

It has something to do with my URL Schemes. Seems like ios SDK 3 doesn't like characters in the id. My former Scheme entry was fb0000000new where as the 0 are replaced by the app id. When I change that to just fb0000000 it works.

Would be good to have a link in the documentation though!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM