Facebook Authentication - Unsafe JavaScript attempt to access frame with URL

后端 未结 7 1217
别那么骄傲
别那么骄傲 2021-01-11 20:14

I am trying to implement Facebook Login System into my website.

While it try to connect to facebook, I get an error from console log:

Unsafe JavaScri         


        
7条回答
  •  粉色の甜心
    2021-01-11 20:36

    It is not possible to test all Facebook integration using domain localhost. You need to place your script in any public access domain and need to update the url in developer app settings page. The security error showing from JavaScript is due to this localhost access by facebook scripts

提交回复
热议问题