brainsrage/yii2-authclient-instagram

Instagram client for yii2-authclient

dev-master 2015-06-26 05:40 UTC

This package is not auto-updated.

Last update: 2024-11-13 11:11:38 UTC


README

Instagram client for yii2-authclient

Installation

Through Composer From console:

composer require brainsrage/yii2-authclient-instagram

or add to "require" section to composer.json

"brainsrage/yii2-authclient-instagram": "dev-master"

##Usage Register your application in Instagram

and add the Instagram client to your auth clients.

php
'components' => [
    'authClientCollection' => [
        'class' => 'yii\authclient\Collection',
        'clients' => [
            'instagram' => [
                'class' => 'brainsrage\authclient\Instagram',
                'clientId' => 'Instagram client id',
                'clientSecret' => 'Instagram client secret',
            ],
            // other clients
        ],
    ],
    // ...
 ]