How to read Instagram images and users without api


/ Published in: PHP
Save to your folder(s)

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


Copy this code and paste it in your HTML
  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

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

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.