PHP code example of romulo126 / instagramgetposts
1. Go to this page and download the library: Download romulo126/instagramgetposts library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
romulo126 / instagramgetposts example snippets
BotInstagramGetPosts\Services\Page\instaPageService;
$ts= new instaPageService();
## limit post
print_r($ts->requestPage('https://www.instagram.com/patoacademy/','key here',2));
## all Posts
print_r($ts->requestPage('https://www.instagram.com/patoacademy/','key here'));