Download the PHP package pierrestoffe/craft-instagram without Composer
On this page you can find all versions of the php package pierrestoffe/craft-instagram. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pierrestoffe/craft-instagram
More information about pierrestoffe/craft-instagram
Files in pierrestoffe/craft-instagram
Package craft-instagram
Short Description Instagram integration for Craft CMS
License MIT
Informations about the package craft-instagram
Instagram plugin for Craft CMS 3.x
Instagram integration for Craft CMS
Requirements
This plugin requires Craft CMS 3.0.0 or later.
Installation
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 pierrestoffe/craft-instagram - In the Control Panel, go to Settings → Plugins and click the “Install” button for Instagram.
Using Instagram
This plugin includes 5 template variables:
-
craft.instagram.getMediaFromUser(instagramUser)in order to get the 25 latest media from the authenticated Instagram user -
craft.instagram.getMediaFromUrls(instagramUrlsArray)in order to get the media information of specific Instagram media -
craft.instagram.getSavedInstagramAccessToken(instagramUser)in order to get the access token used to fetch data with the Instagram API -
craft.instagram.getSavedInstagramAccessTokensin order to get all the access tokens used to fetch data with the Instagram API craft.instagram.getSavedFacebookAccessTokensin order to get all the access tokens used to fetch data with the Facebook API
Instagram Roadmap
Some things to do, and ideas for potential features:
- Generate the first long-lived access token from the App ID and App Secret.
Brought to you by Pierre Stoffe
All versions of craft-instagram with dependencies
pierrestoffe/php-instagram-graph-sdk Version 2.2.1
pierrestoffe/php-facebook-graph-sdk Version ^5.7