ngx-facebook icon indicating copy to clipboard operation
ngx-facebook copied to clipboard

Support https connection

Open babyangel0307 opened this issue 6 years ago • 2 comments

I found that Facebook was force restrict user using https connection to using the apis from 2018/04. My app will facing an error from facebook:

Insecure Login Blocked: You can't get an access token or log in to this app from an insecure page. Try re-loading the page as https://

May i know how to enabled the secured mode or using https to connect?

babyangel0307 avatar Apr 02 '18 08:04 babyangel0307

I am testing on localhost without https. There's a setting in the facebook app that lets you turn off the requirement of https.

image

Hope this helps.

tvl83 avatar Apr 04 '18 14:04 tvl83

Thanks your reply, i have also try to disable this. But Facebook mention that: All new apps created as of March 2018 have this setting on by default. I have create a new fb app yesterday. This button was disable and can not to toggle to turn off this function.

Ref: https://developers.facebook.com/docs/facebook-login/security/?locale=en_US# See the Enforce HTTPS section.

babyangel0307 avatar Apr 04 '18 14:04 babyangel0307