rohanmashiyava / yii2instagram
yii 2 Instagram PHP Restful API integration
Installs: 8
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Type:yii2-extension
Requires
- yiisoft/yii2: *
This package is not auto-updated.
Last update: 2024-11-09 19:45:30 UTC
README
Instagram for yii 2
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist rohanmashiyava/yii2instagram "*"
or add
"rohanmashiyava/yii2instagram": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, you should configure it in the application configuration like the following,
'components' => [ 'yii2instagram' => [ 'class' => 'rohanmashiyava\yii2instagram\Yii2instagram', 'environment' => 'sandbox', 'apiKey' => '8f6432a39aec4e99b2d0b54f93a35564', 'apiSecret' => 'a116b4a7e37645a083eb9a7c7d2492a6', 'apiCallback' => 'login/instagram', ] ]
Instagram don't have PHP SDK so we use REST API in order to use Instagram integration on PHP.
Yii2Instagram by Theta Technolabs
Contact if any help - rohan@thetatechnolabs.com