PHP code example of abenevaut / laravel-instagram-client

1. Go to this page and download the library: Download abenevaut/laravel-instagram-client 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/ */

    

abenevaut / laravel-instagram-client example snippets


'instagram' => [
    'baseUrl' => 'https://i.instagram.com/api/v1', // Instagram API URL
    'debug' => env('INSTAGRAM_DEBUG', false), // Debug mode
],

use Abenevaut\InstagramClient\Facades\Instagram;

Instagram::getClient(): InstagramClient; // Get the Instagram client
Instagram::countFollowers(string $invitationLink): int; // Get the number of followers of an instagram account, like laravel.france