Facebook nasty bug (checked with your Facebook sample app)

The new changes with facebook API gave me much headache.

One of them is this nasty bug:

Device: Samsung Tab tablet with Android 4.1.2

Corona build: 2014.2300

Facebook app installed

  1. Log-out from facebook from the Facebook app

  2. Start the Facebook-sample app - > Facebook app pops-up asking for login

  3. Facebook asks for permissons (public profile and friends list) -> hit OK

  4. You get frozen on the screen (nor “cancel” nor back button gets you out) !

Not sure how to interpret this silence but the new Facebook is totally broken.

Nothing works anymore as it was.

We were just about to publish our new game when this Facebook upgrade happened.

The above described bug, web-based login launching although the native Facebook is installed (iOS)…

Corona Labs are you aware of all the issues? Your fault? Facebook?

Reporting a bug is the best option for things like this. There are a ton of forum posts each day and things like this can be buried.

I strongly suggest you report a bug and post the bug number in this thread. You have to report a bug regardless, so doing it now will only help speed up the process.

My 2c

As Gremlin suggested, please file a bug report. 

Rob

Also, since Android builds don’t use the plugin for Facebook, why don’t you just drop back a build or two and use the last version that worked for you while we work on fixing this.  You reported this late on a Thursday and we’ve not had a chance to talk to Engineering about this yet.

Rob

OK, gone back to 2264 (minimal build for AdMob v2), same result, the app freezes…

Lets go back to latest public release and see… stay tuned…

Nah, same behavior in latest public release (2189) for the above scenario.

My fellow Corona developers, my advice is not to use facebook until this is solved either by Corona or Facebook.

Getting your app frozen is the worst user experience you can get.

Regards,

Damir.

Much the same here. I have a similar problem whether or not I am already logged into Facebook prior to app launch. Although unlike Damir, my app does not freeze.

I can get Facebook to work on Android when the standard Facebook app is NOT installed. When the standard Facebook app is installed I get the following from adb logcat Corona:v *:s

even.name fbconnect

event.type session

isError false

didComplete nil

Session Status loginCancelled

event.phase ~= login

Corona build 2288. Samsung Galaxy Tab 2 Android 4.2.2.

I use:

fb.showDialog(“feed”, {

            name = “name”, 

            description = desc,

            caption = cap,

            link = “link”,

            picture = pic

}) 

in the Facebook listener. As I am using showDialog() there is no need to set up a test user or get Facebook approval for permissions.

This code and Corona build 2288 works perfectly fine when Facebook is not installed.

Would love a fix ASAP so I can upload to Google Play. Thanks! :slight_smile:

MAS1

Damir, we haven’t gone back and patched any old builds.  I suspect that there may be something localized to you.  What happens when you try and build the Facebook sample app?

MAS1 leave off the Corona:v *:s and just run:

adb logcat

There may be messages from the Facebook activity that you’re filtering out that might be useful to know.

Rob

Rob,

I have checked this with your Facebook-sample app, same result -  it freezes…

Rob,

adb logcat gives me:

W/fb4a(:<default>):GDPDialog(16608): com.facebook.fbservice.service.ServiceException: API_ERROR: API_ERROR

Thanks - MAS1.

Rob,

This is now working for me regardless of whether the standard Facebook app is installed or not or whether I am logged into the Facebook app or not. Corona build 2288.

I went here: http://coronalabs.com/blog/2013/07/30/understanding-facebook-authentication/

and executed keytool -exportcert (etc) again. This generated a different key hash than the one I was using. Perhaps I omitted the -binary or entered the wrong password first time around. As you’ve mentioned here: http://forums.coronalabs.com/topic/46179-problem-with-facebook-native-app-and-api/?hl=%2Bhash+%2Bkey

the key hash is KEY!

I use a release key store and have from the very start.

Best,

MAS1.

Damir, do you know if the Facebook native app has been recently updated on the device?

Rob

Rob,

I can’t tell for sure. Is there a way to get the Facebook app version ?

I don’t know how to get that, but normally Android notifies you when you get a new version.

Rob

OK, this bug is gone in daily build 2303, where you started calling FB v2.

Now please fix the bug I described for iOS (http://forums.coronalabs.com/topic/47833-facebook-v2-on-ios-wrong-login-window-is-shown/)

Thank you.

Not sure how to interpret this silence but the new Facebook is totally broken.

Nothing works anymore as it was.

We were just about to publish our new game when this Facebook upgrade happened.

The above described bug, web-based login launching although the native Facebook is installed (iOS)…

Corona Labs are you aware of all the issues? Your fault? Facebook?

Reporting a bug is the best option for things like this. There are a ton of forum posts each day and things like this can be buried.

I strongly suggest you report a bug and post the bug number in this thread. You have to report a bug regardless, so doing it now will only help speed up the process.

My 2c

As Gremlin suggested, please file a bug report. 

Rob