2013-08-28 4 views
0

나는 아래 코드로 인스 타 그램 사진을 얻었지만, 나는 내가 원하는 사진을 발견하지 못했다. 누구든지이 일에 나를 도울 수 있습니까?인스 타 그램에서 태그가 달린 사진을 얻는 방법?

<div class="instafeed"></div> 
<script type="text/javascript"> 
    $(".instafeed").instagram({ 
     get: 'tagged', 
      tagName: 'animals', 
     clientId: 'xxx', 
     image_size: 'thumbnail', 
    }); 
</script> 

고마워요!

답변

0

는 (난 그냥 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> 
+0

작동합니다! 감사! ^^ – youaremysunshine

관련 문제