blueweb / instagram
Instagram extension for fetching profile data
Installs: 7
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 4
Forks: 0
Open Issues: 0
pkg:composer/blueweb/instagram
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.