1
私は現在のアーティストの演奏からのつぶやきを表示する小さなSpotifyアプリを構築しています。インデックスファイルからhttp://code.bocoup.com/jquery-twitter-plugin/ツイートをSpotifyアプリにプル
manifest.jsonを
{
"BundleType": "Application",
"AppIcon": {
"18x18": "tutorial.png"
},
"AppName": {
"en": "News"
},
"SupportedLanguages": [
"en"
],
"RequiredPermissions": [
"http://twitter.com"
"http://*.twitter.com"
"http://*.twimg.com"
],
"VendorIdentifier": "com.News",
"RequiredInterface": "1",
"BundleVersion": "0.2",
"BundleIdentifier": "News",
"AppName": "News",
"AppDescription": "Twitter updates from the Artist playing."
}
:
<script type="text/javascript">
$(document).ready(function() {
$('#tweets').twitter({from: 'mediatemple', replies: false})
launch();
});
</script>
</head>
<body>
<div id="info">
</div>
<div id="news">
</div>
<div id="tweets">
</div>
</body>
私はつぶやきを取得し、表示するBocoupのjQueryのTwitterのプラグインを使用していますSpotifyで私が私を開いたときに何も表示されないapp。しかし、ブラウザでindex.htmlファイルを開くと、ツイートが表示されます。私は何が欠けていますか?
ありがとうございました!私はこれを更新し、リンターを通してそれを実行し、まだ表示されていませんでした。その後、私はSpotifyを再起動し、機能しました! –
manifest.jsonで変更を加えた後、Spotifyを再起動していただきありがとうございます – Falle1234