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");
  5. foreach($data["pics"] as $img) {
  6. echo "<img src=\"".$img["thumbnail"]."\" width='150'/>";
  7. }
  9. // see a demo here:


Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.