A Helper for the Instagram API
This plugin requires Craft CMS 3.0.0-beta.23 or later.
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project
-
Then tell Composer to load the plugin:
composer require tkf/instagram-api-helper
-
In the Control Panel, go to Settings → Plugins and click the “Install” button for Instagram API Helper.
This plugins mirrors the endpoints accessible in sandbox-mode from the instagram-API to your server and keeps your API Keys secure. It also caches the responses so you don't hit the polling Limit.
- Insert your Instagram API Token
- Enter your Instagram User Id
- Define the path prefix (Defaults to /api)
/me.json => user information
/media.json => get recent media
map response to twig
Brought to you by Jan Thoma