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-11-13 18:19:08 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.