인스타그램 사진가져오기

· 10년 전 · 1970

좋은 기능 같아서 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,488
10년 전 조회 1,597
10년 전 조회 1,821
10년 전 조회 1,686
10년 전 조회 1,629
10년 전 조회 1,563
10년 전 조회 1,620
10년 전 조회 1,601
10년 전 조회 1,546
10년 전 조회 2,008
10년 전 조회 1,547
10년 전 조회 1,511
10년 전 조회 1,767
10년 전 조회 1,550
10년 전 조회 1,578
10년 전 조회 1,436
10년 전 조회 1,693
10년 전 조회 1,515
10년 전 조회 1,401
10년 전 조회 1,522
10년 전 조회 2,171
10년 전 조회 1,504
10년 전 조회 1,482
10년 전 조회 1,569
10년 전 조회 1,619
10년 전 조회 2,089
10년 전 조회 1,669
10년 전 조회 1,532
10년 전 조회 1,429
10년 전 조회 1,463
10년 전 조회 1,562
10년 전 조회 1,511
10년 전 조회 1,574
10년 전 조회 1,472
10년 전 조회 1,604
10년 전 조회 1,476
10년 전 조회 1,454
10년 전 조회 1,405
10년 전 조회 2,067
10년 전 조회 1,574
10년 전 조회 1,469
10년 전 조회 1,483
10년 전 조회 1,476
10년 전 조회 1,487
10년 전 조회 1,461
10년 전 조회 1,978
10년 전 조회 1,433
10년 전 조회 1,494
10년 전 조회 1,372
10년 전 조회 1,971
10년 전 조회 1,558
10년 전 조회 1,547
10년 전 조회 1,598
10년 전 조회 1,518
10년 전 조회 1,544
10년 전 조회 1,457
10년 전 조회 1,368
10년 전 조회 1,480
10년 전 조회 1,371
10년 전 조회 1,739
10년 전 조회 1,432
10년 전 조회 1,444
10년 전 조회 1,427
10년 전 조회 1,457
10년 전 조회 1,518
10년 전 조회 1,410
10년 전 조회 1,444
10년 전 조회 1,634
10년 전 조회 1,426
10년 전 조회 1,528
10년 전 조회 1,509
10년 전 조회 1,516
10년 전 조회 1,677
10년 전 조회 1,520
10년 전 조회 1,522
10년 전 조회 1,494
10년 전 조회 1,612
10년 전 조회 1,524
10년 전 조회 1,479
10년 전 조회 1,474
10년 전 조회 1,509
10년 전 조회 1,549
10년 전 조회 1,484
10년 전 조회 1,678
10년 전 조회 1,823
10년 전 조회 1,753
10년 전 조회 1,519
10년 전 조회 1,521
10년 전 조회 1,474
10년 전 조회 1,461
10년 전 조회 1,562
10년 전 조회 1,473
10년 전 조회 1,441
10년 전 조회 1,502
10년 전 조회 1,841
10년 전 조회 2,293
10년 전 조회 1,865
10년 전 조회 1,685
10년 전 조회 1,544
10년 전 조회 1,503