keppelen / react-facebook-login

A Component React for Facebook Login
1.18k stars 406 forks source link

display type 'popup' #306

Open pankaj103 opened 4 years ago

pankaj103 commented 4 years ago

On login when facebook presents permissions page, I see the following warning

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.

For desktop browser login, the code in facebook.js is already using FB.login(...) ,

Is this something I am doing wrong? Is this an issue with this code or is this a FB sdk issue.

I am been hunting google but not finding much solution to the problem

plotka commented 3 years ago

@pankaj103 I am having the same issue. Did you find a solution?

franco-bardo commented 3 years ago

Same issue

foxter111 commented 3 years ago

I am having the same issue