I am using the passport-facebook with default values:
When a user tries to login to my site, they get the following warning on the facebook screen (this happens only to users set as admins of the facebook app and not to the general population):
You are using a display type of 'page' in a small browser window or popup. 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, use display type 'popup' if you have special requirements precluding you from using the SDK. This message is only visible to developers of your application.
I understand passport-facebook has a display parameter, but its possible combinations are not clear in the documentation, nor is it clear how to circumvent this warning (there is a link to FB's documentation, but the link does not take you anymore to content related to dialog configuration).
Hi,
I am using the passport-facebook with default values:
When a user tries to login to my site, they get the following warning on the facebook screen (this happens only to users set as admins of the facebook app and not to the general population):
app.get('/auth/facebook', passport.authenticate('facebook', { scope: ['email', 'public_profile'] }));
You are using a display type of 'page' in a small browser window or popup. 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, use display type 'popup' if you have special requirements precluding you from using the SDK. This message is only visible to developers of your application.
I understand passport-facebook has a display parameter, but its possible combinations are not clear in the documentation, nor is it clear how to circumvent this warning (there is a link to FB's documentation, but the link does not take you anymore to content related to dialog configuration).