abenevaut/laravel-instagram-client

Laravel Http Client Infrastructure

0.0.3 2025-02-08 20:48 UTC

This package is auto-updated.

Last update: 2025-02-08 20:50:08 UTC


README

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