This bolt.cm extension will get raw feed data from Instagram's public API. It makes use of Vinkla's Instagram Package.
- Login to your Bolt installation
- Go to "Extend" or "Extras > Extend"
- Type
instagram
into the input field - Click on the extension name
- Click on "Browse Versions"
- Click on "Install This Version" on the latest stable version
- PHP 7+
- Bolt 3+
Nothing to configure, just call the {{ instagram('username') }}
twig function where username
is the user profile you want to retreive.
This will return an array of the latests posts in that profile.
{% for post in instagram('marutaro') %}
{{ dump(post) }}
{% endfor%}
Because this extension uses Instagram's public API it has the following limitations:
- You can only fetch feeds from public accounts.
- You can only retrieve the lastest 20 posts.