Facebook broken

We’re creating an fbconnect app.

This all used to work, but since 2 months, it simply doesn’t work anymore. I get a loginFailed event.

We’re using the facebook wrapper lib, and when I use my access token in the sim, it works.

I’ve tried with a lot of different builds, but i’m usually on the last daily build.

I tried to do the facebook example app (changed my app id), and I get the same error.

My configuration should be just fine in developer.facebook.com

What settings should be set / unset in advanced and other sections?

afaik, I haven’t changed a thing there

urgent, because we need to ship soon. [import]uid: 5942 topic_id: 28086 reply_id: 328086[/import]

If I uninstall the facebook.app (the official application) and authenticate via the browser on my iphone, it all works.

posted before, but got no response from corona [import]uid: 5942 topic_id: 28086 reply_id: 113476[/import]

Hey there - is this Android or iOS or both? Do you have bug # I can check please? [import]uid: 52491 topic_id: 28086 reply_id: 113634[/import]

I have the same issue. Authentication works if Facebook app is not installed via we browser, but if app is installed, it just loads up Facebook and doesn’t take you to a page where you can accept the application. [import]uid: 122310 topic_id: 28086 reply_id: 119092[/import]

The problem was in security settings
Go to facebook developer, and edit the settings.
You should have the proper bundle id set.

Took me a LOoonng time to discover :frowning:

It suddenly stopped working [import]uid: 5942 topic_id: 28086 reply_id: 119095[/import]

Thanks for the tip, @ jbverschoor_bloomsix.

I double checked and the bundle id is set correctly in both places. It works just fine with the web browser authentication, but doesn’t work via Facebook Native application. So i’m pretty sure the bundle ids are correct. [import]uid: 122310 topic_id: 28086 reply_id: 119097[/import]

i just reinstalled my app and reinstalled the facebook native app, and now things are working correctly again. perhaps this was an issue on facebook’s servers. [import]uid: 122310 topic_id: 28086 reply_id: 119100[/import]

Hi there.

I still have the problem that, when the facebook app already was installed on the device and i install the facebook sample app from corona sdk code samples, i cannot connect to facebook.
As written above, after deleting the facebook app, logging in via browser works and then, after reinstalling the facebook app, login still works.

I have no idea why this is the case. But i think it hase something todo with the Access Token.
I hope someone of you has a solution for this, since i cannot request all the users of my app to uninstall and reinstall their facebook app.

I tested the app on my iPhone 4. Facebook App Security Settings are:

App Type: Nativ/Desktop
Stream post URL security: blocked
Remove offline_access permission: activated
Forces use of login secret for auth.login: blocked
rest of the settings is activated.

Greetings,
Niko

******Update******
After reinstalling the facebook test app from itunes, login fails again. :frowning: [import]uid: 171490 topic_id: 28086 reply_id: 120655[/import]

Just in case someone has the same problem as me.
I solved it by adding the correct CFBundleIdentifier to the build.settings.

CFBundleIdentifier = "com.digitalmobil.Facebook",

Facebook is the default app-name from the fbconnect test app provided by corona :).

I know you don’t have to provide the Bundle ID for Corona, but if you use wildcard profiles for testing it seems to be the only way to make sure the bundle id matches exactly with the one you set in your facebook app.

Hope this helps someone. [import]uid: 171490 topic_id: 28086 reply_id: 120661[/import]

It didn’t work ,i disappointed :(:frowning: [import]uid: 160777 topic_id: 28086 reply_id: 120666[/import]

Hi there.

I still have the problem that, when the facebook app already was installed on the device and i install the facebook sample app from corona sdk code samples, i cannot connect to facebook.
As written above, after deleting the facebook app, logging in via browser works and then, after reinstalling the facebook app, login still works.

I have no idea why this is the case. But i think it hase something todo with the Access Token.
I hope someone of you has a solution for this, since i cannot request all the users of my app to uninstall and reinstall their facebook app.

I tested the app on my iPhone 4. Facebook App Security Settings are:

App Type: Nativ/Desktop
Stream post URL security: blocked
Remove offline_access permission: activated
Forces use of login secret for auth.login: blocked
rest of the settings is activated.

Greetings,
Niko

******Update******
After reinstalling the facebook test app from itunes, login fails again. :frowning: [import]uid: 171490 topic_id: 28086 reply_id: 120655[/import]

Just in case someone has the same problem as me.
I solved it by adding the correct CFBundleIdentifier to the build.settings.

CFBundleIdentifier = "com.digitalmobil.Facebook",

Facebook is the default app-name from the fbconnect test app provided by corona :).

I know you don’t have to provide the Bundle ID for Corona, but if you use wildcard profiles for testing it seems to be the only way to make sure the bundle id matches exactly with the one you set in your facebook app.

Hope this helps someone. [import]uid: 171490 topic_id: 28086 reply_id: 120661[/import]

It didn’t work ,i disappointed :(:frowning: [import]uid: 160777 topic_id: 28086 reply_id: 120666[/import]