nakukryskin/laravel-instagram-api

This package is abandoned and no longer maintained. The author suggests using the mgp25/instagram-php package instead.

Implementation Instagram private API for Laravel 5.4

dev-master / 5.4.1.x-dev 2019-01-23 14:59 UTC

This package is auto-updated.

Last update: 2019-01-24 20:01:38 UTC


README

Laravel Instagram API

Laravel 5.4 integration for the Instagram private API package.

Install

composer require nakukryskin/laravel-instagram-api

Add provider into your app.php config:

'providers' => [
    ...
    
    Nakukryskin\InstagramApi\LaravelInstagramApiProvider::class,
    
]

Add alias into your app.php config:

'alias' => [
    ...
    
    'Instagram'    => Nakukryskin\InstagramApi\Facades\InstagramApi::class,
    
]

Configuration

php artisan vendor:publish --provider="Nakukryskin\InstagramApi\LaravelInstagramApiProvider" --tag=config

Edit config/instagram-api.php.

Usage

Methods same Instagram Private API package.

Use \Instagram::setUser($username, $password)

instead

$instagram = new Instagram($debug);
$instagram->setUser($username, $password);