PHP code example of roketin / instagram
1. Go to this page and download the library: Download roketin/instagram 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/ */
roketin / instagram example snippets
use Roketin\Instagram\Instagram;
// Create a new instagram instance.
$instagram = new Instagram('access_token');
// Fetch the user's recent media feed.
$instagram->get();
use Roketin\Instagram\Instagram;
$instagram = new Instagram('access_token');
$instagram->get();
bash
$ composer