简体   繁体   English

在ssl限制之后调试facebook canvas app

[英]debug facebook canvas app after ssl restriction

I have a canvas iframe Facebook app. 我有一个画布iframe Facebook应用程序。 I updated the secure canvas URL with https url and it works fine. 我用https url更新了安全画布URL,它工作正常。 since October 1st, it is not allowed to access apps without ssl. 自10月1日起,不允许在没有ssl的情况下访问应用。 I used to debug my app by creating a duplicate app with localhost as the canvas URL. 我曾经通过使用localhost创建一个重复的应用程序作为画布URL来调试我的应用程序。 Since October 1st (or actually since today...) it is not possible to access it due to the ssl restriction. 自10月1日(或实际上从今天起......)由于ssl限制而无法访问它。 How can I debug facebook app now?? 我该如何调试facebook app?

In your account settings turn off 'Safe browsing' so you will be visiting Facebook without https. 在您的帐户设置中,请关闭“安全浏览”,这样您就可以在不使用https的情况下访问Facebook。 Then it does work for me (after turning on Sandbox mode that is). 然后它对我有用(在打开Sandbox模式之后)。

Turn sandbox on 打开沙箱


(source: phpcode.eu ) (来源: phpcode.eu

Apps on Facebook authentication and security migration Facebook身份验证和安全迁移的应用程序

All Canvas and Page tab apps must convert to process signed_request (fb_sig will be removed) and obtain an SSL certificate for use in Secure Canvas URL and Secure Page Tab URL (unless you are in Sandbox mode). 所有Canvas和Page选项卡应用必须转换为进程signed_request(fb_sig将被删除)并获取SSL证书以用于Secure Canvas URL和Secure Page Tab URL (除非您处于沙盒模式)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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