Created
August 15, 2016 10:41
-
-
Save raiym/f9834e6921e41c39133a8f94dcbaefe2 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| error_reporting(-1); | |
| require_once 'vendor/autoload.php'; | |
| require_once 'src/InstagramScraper.php'; | |
| use InstagramScraper\Exception\InstagramException; | |
| use InstagramScraper\Instagram; | |
| try { | |
| $medias = Instagram::getMedias('kevin', 1497); | |
| echo json_encode($medias[1497]); | |
| } catch (\Exception $ex) { | |
| print_r($ex); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment