Unsafe JavaScript attempt to access a frame when using secure browsing on Facebook

后端 未结 4 1114
长情又很酷
长情又很酷 2021-01-22 17:07

I\'ve launched an application last week and have noticed since that in Chrome only the height of my canvas is not always adjusted. I\'ve spent a bunch of hours looking at the is

4条回答
  •  庸人自扰
    2021-01-22 17:31

    This can also happen when you configure your fb app wrongly, check next three steps

    1- make sure that redirect_uriof your facebook app isnt missing

    Go to your App >> Settings >> Advanced >> Security. then set the redirect_uri

    2- Make sure that login Client OAuth Login and Embedded browser OAuth Login is allowed for your app

    Go to your App >> Settings >> Advanced >> Security. then select "yes" for both Client OAuth Login and Embedded browser OAuth Login

    3- Don't forget also to configure your app to accept logins from your site

    Go to your App >> Settings >> Add platfrom >> Website. then set Site URL with your domain.

提交回复
热议问题