Posted By

ginoplusio on 12/05/13


Tagged

bots api spider instagram


Versions (?)

How to read Instagram images and users without api


 / Published in: PHP
 

URL: http://www.barattalo.it/2013/12/03/get-instagram-data-without-official-api-php/

Sometimes using small code snippets is faster than implement the official api. Using mini bots class is faster to get Instagram data.

  1. include ("minibots.class.php");
  2. $mb = new Minibots();
  3. $data = $mb->getInstagramPics("giuliopons");
  4.  
  5. foreach($data["pics"] as $img) {
  6. echo "<img src=\"".$img["thumbnail"]."\" width='150'/>";
  7. }
  8.  
  9. // see a demo here: http://www.barattalo.it/instapostcards

Report this snippet  

You need to login to post a comment.