0
を中華鍋ません。
setInterval(function() {
$.getJSON("https://graph.facebook.com/v2.8/?ids=1234567_1234567&fields=reactions.type(LIKE).limit(0).summary(total_count).as(reactions_like)%2Creactions.type(LOVE).limit(0).summary(total_count).as(reactions_love)&access_token=thatsmytoken"),
function (res) {
console.log(res);
};
}, 5000);
だから、GET呼び出して表示し、結果をコンソールではなく、そのべきではありませんが.. Chromeのネットワーク情報でGETの結果が表示されます(5秒ごとに正常に動作します)が、機能内には入っていません。
なぜですか?
'$ .getJSON()'で ')'を閉じることができません。 'encodeURIComponent()'または 'escape()'にURLを渡そうとしましたか? – guest271314