Facebook uygulamasında şu anki giriş akışım var (bir açıklama için bkz. this answer). logout()
ve login()
bu giriş işlemi ile Facebook uygulaması - Sessiz "Protokoller eşleşmeli" hatası
window.fbAsyncInit = function() {
FB.init({
appId: '...',
channelUrl: window.location.protocol + '//' + window.location.host + '/channel.html',
status: false,
cookie: true,
xfbml: false,
oauth: true
});
FB.getLoginStatus(function(response) {
if (response.status === 'connected') {
login(response);
} else {
FB.Event.subscribe('auth.login', function(response) {
login(response);
});
logout();
}
});
};
, ben kullanıcı açtığında sayfayı yeniden gerekmez. Kullanıcı oturumu kapatan veya kaydedilir sayfayı oluşturmak kukla işlevleri vardır, ama olsun sessiz hatası:
Blocked a frame with origin " http://www.facebook.com " from accessing a frame with origin " https://s-static.ak.facebook.com ". The frame requesting access has a protocol of "http", the frame being accessed has a protocol of "https". Protocols must match.
ben sayfayı yeniden https://
protokole uygulamayı tutan iframe aktaran varsayalım, ama gerçekten neden anlamıyorum ya bunun ne anlama geldiğini. Bu hata neden oluyor ve endişelenecek bir şey mi?