javascript - Facebook Auth Dialog: Developer warning concerning the use of "display" type "popup" -


starting today receive developer warnings in auth dialog following message:

you using display type of 'popup' in large browser window or tab. better user experience, show dialog our javascript sdk without specifying explicit display type. sdk choose best display type each environment. alternatively, set height , width on window.open() call size dialog if have special requirements precluding using sdk. message visible developers of application.

the mentioned warning directly in popup

we have following situation:

  • with javascript open new popup
  • the src of popup set facebook's php-sdk method getloginurl
  • popup has size of 400px 580px

the php-sdk references proper use of "display=popup" within it's own code:

if using generated url window.open() call in javascript, can pass in display=popup part of $params.

the js-sdk documentation says, maximum-size of opened popup should 400x580:

for use in browser popup no bigger 400px 580px. use display type maintain context user without needing perform full-page redirect.

so, sum up: according docs, implementation above should ok. else having warning or solution this?

the js-sdk documentation says browser popup should "no bigger 400px 580px". don't specify mean 400px tall 580px wide.

i see developer warning in popup auth dialogs 275 tall 875 wide. not see warning in popups 400 tall 580 wide.

your image suggests popup 630 high 446 wide. big reading of specification.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -