blueweb / instagram
Instagram extension for fetching profile data
v1.0.1
2020-11-01 17:25 UTC
Requires
- php: >= 7.3
- nette/di: ~2.4
README
Installation
Best way to install this is using composer:
composer require blueweb/instagram
Then register extension:
extensions:
instagram: Blueweb\Instagram\DI\InstagramExtension
instagram:
apiKey: <your_api_key>
Usage
Register service:
/**
* @var Blueweb\Instagram\Client\InstagramClient
* @autowire
*/
protected $instagram;
and call ->fetchData
. Fetch data will return a multidimensional array or throw RequestException.