Skip to content

BrainsRage/yii2-instagram-authclient

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

yii2-instagram-authclient

This extension adds Instagram OAuth2 supporting for yii2-authclient.

Installation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist kotchuprik/yii2-instagram-authclient "*"

or add

"kotchuprik/yii2-instagram-authclient": "*"

to the require section of your composer.json.

Usage

You must read the yii2-authclient docs

Register your application in Instagram

and add the Instagram client to your auth clients.

'components' => [
    'authClientCollection' => [
        'class' => 'yii\authclient\Collection',
        'clients' => [
            'instagram' => [
                'class' => 'kotchuprik\authclient\Instagram',
                    'consumerKey' => 'instagram_client_id',
                    'consumerSecret' => 'instagram_client_secret',
                ],
            ],
            // other clients
        ],
    ],
    // ...
 ]

About

Instagram extenion for using via yii2-authclient

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%