Instagram – Documentation
Create an Instagram app
First of all you have to create the Instagram app. Simply go to the developer interface
Register a New Client. Fill in the necessary data and enter your domain name +
/contao/main.php in the
Valid redirect URIs field.
Once the app is created, copy the Client ID and Client Secret keys to your clipboard .
If you are using Contao 4, the
Valid redirect URIs field needs to be filled with your domain name +
Create a frontend module
Now go to the Contao backend and create the
Note: be sure to check the
Request access token box!
If you have configured your app properly, you should now see the screen prompting you for the authorization. Click the green button to authorize yourself for your app and you should be taken back to the Contao backend.
Please ensure that the
Instagram access token is now filled in. You can now safely add the module to the page.
The displayed template data out of box is very simple, as only the images are displayed. If you need more information,
you should check out the
You can do that by dumping the variables inside
<?php $this->showTemplateVars(); ?>
Before you report any bugs regarding the missing Instagram feed data, be sure that you have read the official documentation that contains information about the data you can obtain from the API:
If at some point the extension does not work make sure to check the system logs.