인스타그램 사진가져오기

· 10년 전 · 2033

좋은 기능 같아서 PHP스쿨에서 퍼왔습니다.

http://www.phpschool.com/gnuboard4/bbs/board.php?bo_table=tipntech&wr_id=80364&page=1 

 

슬라이드쇼 - http://als.musings.it 

클라이언트 넘버 아이디 가져오기 - http://jelled.com/instagram/lookup-user-id 

클라이언트 아이디 - https://instagram.com/developer/clients/manage/ 인스타그램 API 페이지에서 직접 가져오세요. 

 

  [code]

<!DOCTYPE HTML>

<html lang="en">

  <head>

    <meta charset="utf-8">

    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <link rel="stylesheet" type="text/css" media="screen" href="als.css" />

    <script type="text/javascript" src="jquery.min.js"></script>

    <script type="text/javascript" src="jquery.als-1.7.min.js"></script>

    <script type="text/javascript">

      $(document).ready(function() {

        $.ajax({

          //url: 'https://api.instagram.com/v1/tags/태그명/media/recent?count=33&client_id=클라이언트-아이디',

          url: 'https://api.instagram.com/v1/users/클라이언트-넘버-아이디/media/recent?client_id=클라이언트-아이디&count=33',

          cache: false,

          dataType: 'jsonp'

        }).done(function( msg ) {

          var result = new Array();         

          $.each(msg.data, function(index, value) { 

            var link = value.link;

            var imageUrl = value.images.low_resolution.url;

            var instaId = value.id;

            result.push('<div class="multiple"><a href="'+link+'" target="_blank"><img border="0" src="'+imageUrl+'" width="210" /></a></div>');

          });         

          $(".slider").html(result.join(""));

          $('.autoplay').slick({

            dots: false,

            slidesToShow: 6,

            slidesToScroll: 1,

            autoplay: true,

            autoplaySpeed: 2000,

          }); 

        });         

      });           

    </script>

  </head>

  <body>

 

    <div class="slider autoplay" style="height:210px;"></div>

   

  </body>

</html>

[/code]  

|
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

+
제목 글쓴이 날짜 조회
10년 전 조회 1,545
10년 전 조회 1,660
10년 전 조회 1,875
10년 전 조회 1,757
10년 전 조회 1,699
10년 전 조회 1,631
10년 전 조회 1,674
10년 전 조회 1,671
10년 전 조회 1,628
10년 전 조회 2,086
10년 전 조회 1,619
10년 전 조회 1,568
10년 전 조회 1,829
10년 전 조회 1,624
10년 전 조회 1,650
10년 전 조회 1,511
10년 전 조회 1,777
10년 전 조회 1,595
10년 전 조회 1,471
10년 전 조회 1,601
10년 전 조회 2,233
10년 전 조회 1,579
10년 전 조회 1,553
10년 전 조회 1,651
10년 전 조회 1,696
10년 전 조회 2,163
10년 전 조회 1,749
10년 전 조회 1,612
10년 전 조회 1,504
10년 전 조회 1,540
10년 전 조회 1,639
10년 전 조회 1,594
10년 전 조회 1,649
10년 전 조회 1,557
10년 전 조회 1,686
10년 전 조회 1,545
10년 전 조회 1,533
10년 전 조회 1,485
10년 전 조회 2,148
10년 전 조회 1,647
10년 전 조회 1,553
10년 전 조회 1,556
10년 전 조회 1,563
10년 전 조회 1,559
10년 전 조회 1,540
10년 전 조회 2,053
10년 전 조회 1,502
10년 전 조회 1,555
10년 전 조회 1,449
10년 전 조회 2,034
10년 전 조회 1,631
10년 전 조회 1,622
10년 전 조회 1,671
10년 전 조회 1,588
10년 전 조회 1,616
10년 전 조회 1,516
10년 전 조회 1,440
10년 전 조회 1,550
10년 전 조회 1,446
10년 전 조회 1,803
10년 전 조회 1,501
10년 전 조회 1,519
10년 전 조회 1,504
10년 전 조회 1,527
10년 전 조회 1,595
10년 전 조회 1,481
10년 전 조회 1,520
10년 전 조회 1,705
10년 전 조회 1,509
10년 전 조회 1,614
10년 전 조회 1,586
10년 전 조회 1,581
10년 전 조회 1,731
10년 전 조회 1,586
10년 전 조회 1,595
10년 전 조회 1,569
10년 전 조회 1,677
10년 전 조회 1,587
10년 전 조회 1,551
10년 전 조회 1,552
10년 전 조회 1,574
10년 전 조회 1,613
10년 전 조회 1,555
10년 전 조회 1,748
10년 전 조회 1,893
10년 전 조회 1,829
10년 전 조회 1,587
10년 전 조회 1,584
10년 전 조회 1,530
10년 전 조회 1,530
10년 전 조회 1,631
10년 전 조회 1,537
10년 전 조회 1,505
10년 전 조회 1,552
10년 전 조회 1,902
10년 전 조회 2,366
10년 전 조회 1,941
10년 전 조회 1,752
10년 전 조회 1,598
10년 전 조회 1,575