1. Go to this page and download the library: Download wallrio/instafeed 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/ */
wallrio / instafeed example snippets
use InstaFeed\Profile as Profile;
$profile = new Profile();
$profile->useCache = true;
$profile->cache->dir(__DIR__DIRECTORY_SEPARATOR.'cache'.DIRECTORY_SEPARATOR);
$profile->username('wallace.rio');
$instaData = $profile->get();
use InstaFeed\Profile as Profile;
$profile = new Profile();
$profile->useCache = true;
$profile->username('wallace.rio');
$instaData = $profile->get(function(){
// code to run if instagram feed has updated
});