我使用這個邀請Facebook上的朋友我的應用程序:發送apprequest withouth的SSL
function invite(id) {
FB.ui({
method: 'apprequests',
message: 'mytext',
title: 'mytitle',
to: id,
}, function(response){
if (typeof response.error_message != 'undefined') {
console.log(response.error_message);
}else{
if(response!=null){
var invitados = id.split(',');
for(i=0; i<invitados.length; i++){
$('#friend_'+invitados[i]).addClass('invited');
}
}
}
});
}
的問題是,我沒有SSL證書在我的服務器,但(我知道這。應通過安裝它來解決由於Facebook的移動到安全登錄,我們只需要SSL來展示我們在Facebook的網站網站)
一些用戶從Facebook得到一個501錯誤:
(net::ERR_INSECURE_RESPONSE):
是否有辦法強制打開請求(可能在_blank)在我的網站而不是在Facebook(在ifame中)?
:
不同的顯示模式,在此頁面的底部都記錄我會嘗試。但是,對於邀請用戶的GUI(而不是用於接收邀請的用戶)? –
是的,這是請求對話框本身。對不起,如果我誤解了你的問題。發送受邀用戶在畫布應用程序以外的地方是不可能的。 – oleriesenberg