Looking to hire Laravel developers? Try LaraJobs

laravel-instagram-client maintained by abenevaut

Description
Laravel Http Client Infrastructure
Last update
2025/02/08 21:48 (dev-master)
License
Links
Downloads
11

Comments
comments powered by Disqus

laravel-instagram-client

Installation

You can install the package via composer:

composer require abenevaut/laravel-instagram-client

Add instagram service to your config/services.php file:

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

Usage

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