Retrieves Instagram content from a given account and saves the content as individual Channel Entries.
More specifically, Instagram Loader retrieves the latest Instagrams for the given account, and checks which of them are missing from the DB and creates and entry for each if it is missing.
- Download and extract the plugin files
- Copy
/system/user/addons/instagramloader
to your site's/system/user/addons/
directory - Create the Fields and a corresponding Channel
- Fill in the config
- Install the plugin
- Include
{exp:instagramloader}
in a template file and load the template
Instagram Loader uses the following fields, which should all be of type 'Text Input' and can be named as you wish:
- Image Url
- Caption
- Id (of the Instagram post, not the EE entry)
- Link
- Width
- Height
- Orientation
The config array is located in /system/user/addons/instagramloader/pi.instagramloader.php
.
Each key needs a value (all are required) and should be a string.
This is the id of the Instagram account for which you are wanting to retrieve content.
This is the id of the Client created in https://instagram.com/developer/.
For instructions on obtaining a valid access token, see https://instagram.com/developer/authentication.
The required scope for this plugin is "public_content".
This is the id of your "Instagram" channel.
The id corresponding to the field.
Due to recent restrictions imposed by Instagram:
- The API calls are limited to only the most recent 20 posts
- The user id must be either the owner of the account in which the Instagram Client (from which the client_id and access_token is generated), or be an authorized member of that account's Sandbox