PHP code example of abdes / instagram-feed
1. Go to this page and download the library: Download abdes/instagram-feed 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/ */
abdes / instagram-feed example snippets
name = ['youtube','anjunadeep']; //instagram Username
$num = "4"; //number of posts
$posts = new Instaty\InstaFeed($username,$num);
$posts = $posts->getFeeds();
echo "<pre>";print_r($posts);