blueweb/instagram

Instagram extension for fetching profile data

v1.0.1 2020-11-01 17:25 UTC

This package is auto-updated.

Last update: 2024-05-13 17:22:31 UTC


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.