react-facebook-login-component icon indicating copy to clipboard operation
react-facebook-login-component copied to clipboard

Change dialog size

Open Bezdekm opened this issue 8 years ago • 2 comments

Hi everyone,

I need to change the size of login dialog, because I still get the error message

"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 am looking on this react-facbook-login component and it uses JS SDK and fb.login() function. Why my login form is showed on new tab?

Thanks!

Bezdekm avatar Sep 12 '16 08:09 Bezdekm

Hi @Bezdekm !

Can you link to the piece of code you are referring to from react-facebook-login and also can you tell me how to reproduce the error?

kennetpostigo avatar Sep 12 '16 15:09 kennetpostigo

Hi,

I get this error on full HD monitor and on monitor with 1366px width too. The message is showing Under login dialog (on the Facebook side) - I click on button, On the new tab is opened Facebook ligin oauth page and under confirm button is this error. On mobile phone and on monitor with smaller resolutions all warks fine.

Piece of code I put here as soon as possible. (I am not on pc now).

Bezdekm avatar Sep 12 '16 16:09 Bezdekm