M
M
Multigame2017-02-08 13:39:42
Facebook
Multigame, 2017-02-08 13:39:42

How to make IDN, FF and FB OAuth friends?

Good day!

Given
: IDN domain, on which the login button is implemented through the Facebook js sdk. Everything works great except firefox. ( Demo )
Playback.
In FF go to the page and click on the FB button. The first time a popup appears with permission confirmation, everything is ok. We agree. We refresh the page, we poke a second time on the button - a white popup (empty) opens and nothing else happens. ( Screenshot )
NOT in FF - no problem. NOT with an IDN domain - no problem...
Has anyone encountered this? solved somehow?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Multigame, 2017-02-17
@Multigame

In general, I wrote in the FB development group and there, one German also reproduced a bug on Windows and Windows FF. (+ it was also reproduced by a bunch of friends)
As it turned out, the problem is that the plague FF stores the page address in window.location not in the form of punnycode, but in the Unicode representation. JS SDK FB doesn't digest it.
This is treated with a JS SDK patch, namely by replacing the location.origin call with punnycode

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question