[英]Instagram API: Is it possible to get a tagged photo from a certain date?
[英]How to get tagged photo from instagram?
我通過以下代碼獲得了instagram照片,但是我發現我得到的照片不是我想要的。 有人可以幫我嗎?
<div class="instafeed"></div>
<script type="text/javascript">
$(".instafeed").instagram({
get: 'tagged',
tagName: 'animals',
clientId: 'xxx',
image_size: 'thumbnail',
});
</script>
謝謝!
(我只是從http://instafeedjs.com/獲得說明。)
確保在頁面上包含Instafeed.js。
<script src="path/to/instafeed.min.js"></script>
<!--Try using id instead of class-->
<div id="instafeed"></div>
<script type="text/javascript">
new Instafeed({ // call `new Instafeed` here
get: 'tagged',
tagName: 'animals',
clientId: 'xxx',
image_size: 'thumbnail',
}).run(); // Call run after initialization
</script>
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.