• Hello. I was wondering how are you generating the URL for the login button, because there’s an option that shouldn’t be present, which is display=popup

    All the time I get the following message when trying to login using facebook

    You are using a display type of ‘popup’ in a large browser window or tab. For a better user experience, show this dialog with our JavaScript SDK without specifying an explicit display type. The SDK will choose the best display type for each environment. Alternatively, set height and width on your window.open() call to properly size this dialog if you have special requirements precluding you from using the SDK. This message is only visible to developers of your application.

    I know only developers can see it. But it would be nice if the option is removed, so if I log in from desktop, I get the desktop view. It improves the user experience too.

    Thanks in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Damian

    (@timersys)

    Hi @metamorpher,
    I think that message may not be coming from our plugin. Could you please double check?
    At least I can’t find any reference to popup anywhere on version 1.2.1

    Thread Starter metamorpher

    (@metamorpher)

    Hi @timersys. Thank you for the quick response. I’m double checking it. I also had a peek at the code and can see it doesn’t come from the plugin, but maybe the SDK, I don’t know.

    Somewhere in the procedure of clicking the login button and open the new window onto facebook, the given URL gets the GET called display=popup. I don’t know whether it’s a thing from the SDK or the fact I still have my FB app in development mode, or something like that.

    Funny thing: When tried to login in mobile mode (just within my desktop browser, not an actual mobile one) I get the Permissions Modal correctly displayed, not as a “popup” display mode.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove popup option from connect URL’ is closed to new replies.