简体   繁体   English

对Facebook Canvas App使用https连接

[英]Use https connection for Facebook Canvas App

I'm actually developing a Facebook Canvas version of an app using PubNub, my problem is that Facebook is blocking all non-https connection, even PubNub send/receive message requests. 我实际上正在使用PubNub开发Facebook Canvas版本的应用程序,我的问题是Facebook阻止了所有非https连接,甚至是PubNub发送/接收消息请求。

Is there anyway to tell to the PubNub SDK to use https version of the PubNub routes ? 无论如何,有没有告诉PubNub SDK使用https版本的PubNub路由? I really don't need the security of an https connection for my PubNub messages. 我的PubNub邮件确实不需要https连接的安全性。

Note: I'm using the AngularJS SDK. 注意:我正在使用AngularJS SDK。

EDIT: My application is using https connection, only pubnub keep using simple http request. 编辑:我的应用程序正在使用https连接,只有pubnub保持使用简单的http请求。

如果没有https,则无法创建Canvas Apps或Page Apps,您始终需要SSL。

Man when you develope in a facebook canvas is required the https in the iframe loaded, and by security all comunication in a https page all outcomming conection must be over a secure channel (Another ssl connections...). 男人,当您在Facebook画布上进行开发时,需要在iframe中加载https,并且出于安全考虑,https页面中的所有通信都必须通过安全通道(另一个ssl连接...)。

Make PubNub comunicate in a ssl channel, try this: 使PubNub在ssl频道中交流,请尝试以下操作:

PubNub Readme PubNub自述文件

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

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