Laravel integration for the Instagram private API package.
composer require michelmelo/laravel-instagram-api
Add provider into your app.php
config:
'providers' => [
...
MichelMelo\InstagramApi\LaravelInstagramApiProvider::class,
]
Add alias into your app.php
config:
'alias' => [
...
'Instagram' => MichelMelo\InstagramApi\Facades\InstagramApi::class,
]
php artisan vendor:publish --provider="MichelMelo\InstagramApi\LaravelInstagramApiProvider" --tag=config
Edit config/mm-instagram-api.php
.
Methods same Instagram Private API package.
Use
\Instagram::setUser($username, $password)
instead
$instagram = new Instagram($debug);
$instagram->setUser($username, $password);
- Fill in the PULL_REQUEST template.