Facebook Auth Dialog: Developer warning concerning the use of “display” type “popup”

前端 未结 2 1391
花落未央
花落未央 2021-02-05 04:09

starting today we receive developer warnings in the auth dialog with the following message:

You are using a display type of \'popup\' in a large browser w

相关标签:
2条回答
  • 2021-02-05 04:35

    The JS-SDK documentation says the browser popup should be "no bigger than 400px by 580px". What they don't specify is that they mean 400px tall by 580px wide.

    I see the developer warning in my popup auth dialogs that are 275 tall by 875 wide. I do not see the warning in my popups that are 400 tall by 580 wide.

    Your image suggests your popup is 630 high by 446 wide. Too big by any reading of the specification.

    0 讨论(0)
  • 2021-02-05 04:52

    Maybe you should switch to FB JS SDK and FB.login() method? It always provides the best user experience.

    example

    https://developers.facebook.com/docs/reference/javascript/FB.login/

    0 讨论(0)
提交回复
热议问题