New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The method FB.api will stop working when called from http pages in 24 days. #240
Comments
I believe this just warns you about HTTP pages. You can set the version to 3.1 when mounting the component:
|
@mbrochh This didn't resolve the issue, still seeing this in console: The method FB.api will stop working when called from http pages in 13 days. |
Has FB provided some way to use { FB.api, FB.login } during dev i.e. from http://localhost? |
Btw the announcement from FB is here: https://developers.facebook.com/blog/post/2018/06/08/enforce-https-facebook-login/ ; they clearly state that we can only use localhost while the app is in dev mode. They don't say what to do once the app has been released |
So during dev just ignore the warning.
…On Sun, 23 Sep 2018 at 9:12 PM, Rohit K. Chatterjee < ***@***.***> wrote:
Has FB provided some way to use { FB.api, FB.login } during dev i.e. from
http://localhost?
Btw the announcement from FB is here:
https://developers.facebook.com/blog/post/2018/06/08/enforce-https-facebook-login/
; they clearly state that we can only use localhost while the app is in
dev mode. They don't say what to do once the app has been released
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#240 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAKKvj9s-kxoT6yEsoMgi_zcHW9QzRKJks5ud4i4gaJpZM4WkYI8>
.
|
If you're using the standard Create React App model you can include HTTPS=true before typing the start command so something like |
@vigneshprasad Brilliant! That worked really well the errors went away 👍 |
You could move your localhost to https (if sever running on apache)- |
Is there anything equivalent as the HTTPS=true for electron? |
@ vigneshprasad that HTTPS=true npm start isn't working at all... the page on localhost refuses to load on chrome browser and rather displays a security alert error. |
Hey @stevechude my solution may be outdated I'm really not sure. Unfortunately I have not kept up with this project so I'm not sure what's the correct solution here. Good luck I hope someone else is able to help you. |
Am getting same err when using react-facebook. here is what fixed my issue - on the meta for developers dashboard i clicked the top left corner dropdown and created a test up version of my app and then i replaced my appId with the one of a test app, it worked i got an accessToken. it seems the it wont work with the production app unless you create a test app |
I get the next warnings in console. I think it's because we'll need to update the Facebook API.
The text was updated successfully, but these errors were encountered: