hello.js icon indicating copy to clipboard operation
hello.js copied to clipboard

Facebook login fails on Android using instant and native apps. Reproducible on official sample

Open FREEZX opened this issue 7 years ago • 1 comments

Hi, I'm encountering an issue where hello.js refuses to login to facebook on android devices with either the Facebook instant app or the native app. I'm trying the official examples provided in the documentation directly from the website, and i also run the same setup on my own websites, which is where i first noticed the issue.

I tried both the 1.x and 2.x versions with the same result.

Expected behaviour:

  • Call login function
  • Facebook login window pops up (either browser, app or instant app)
  • User gets returned to the original page
  • Login success called, proceed

What actually happens:

  • Call login function
  • Login error gets called almost instantly
  • Facebook login window shows up
  • User gets returned to the original page

Expected behavior happens only in chrome incognito mode, fails with everything else.

I also reported a bug with facebook, i'm not 100% sure on which side the problem lies: https://developers.facebook.com/support/bugs/405111233290892/ https://developers.facebook.com/support/bugs/414261409051237/

FREEZX avatar Jun 19 '18 18:06 FREEZX

Turns out it was a hello.js issue

FREEZX avatar May 08 '20 18:05 FREEZX