ブラウザーが暗号化されていないという警告をスローすることなく、SSL ページで Twitter 検索ウィジェットを動作させようとしています。私はしばらく探していましたが、解決策を見つけることができません。何か案は?
私は次のことを試しました: HTTPS経由でTwitter Widgets.jsを含める
私のコードは次のとおりです
<script charset="utf-8" src="https://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
version: 2,
type: 'search',
search: 'Search term',
interval: 30000,
title: 'Twitter feed',
subject: 'WHatever',
width: 295,
height: 300,
theme: {
shell: {
background: 'transparent',
color: '#88afcc'
},
tweets: {
background: 'transparent',
color: '#cccccc',
links: '#1868e0'
}
},
features: {
scrollbar: false,
loop: true,
live: true,
behavior: 'default'
}
}).render().start();
</script>
私は自分のサーバーにwidget.jsを保存し、それをhttpsで呼び出してみましたが、役に立ちませんでした。
何か案は?私は本当にこれを SSL ページに残しておきたいと思っていますが、ユーザーが私たちと彼らの間の接続が安全でないと考えていることを犠牲にしてはいけません.