简体   繁体   中英

PhoneGap 'X-Frame-Options' to 'DENY

Using PhoneGap with VS 2015, trying to redirect to facebook for external user login to my app using

    window.location.assign(e.url);

have also tried InAppbrowser

cordova.InAppBrowser.open(e.url, '_self', 'location=no, toolbar=no');

Still getting error below

Refused to display
 'https://www.facebook.com/login.php?skip_api_login=1&api_key=***********&display=page' 
in a frame because it set 'X-Frame-Options' to 'DENY'.

您是否尝试将“ _self”更改为“ _blank”?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM