Posted By

ginoplusio on 12/05/13


Tagged

api


Versions (?)

Last Edited at 12/05/13 08:43am

Viewed 2 times

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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.