This module creates a content type where imported instagram posts are stored.
The stored fields are:
- Caption: The post caption.
- Id: The post id.
- Image: The post image (or thumbnail for videos).
- Timestamp: Time when the post was created.
- Url:The post url on instagram.
Requirements
This module requires an instagram api access token. Add an Instagram test user to generate the access token and add it in the configuration form.
You can check some of the necessary steps here:
https://developers.facebook.com/docs/instagram-platform/instagram-api-with-instagram-login/create-a-meta-app-with-instagram
Starting December 4, 2024, all requests to the Instagram Basic Display API will return an error message. We recommend that you migrate your app to the Instagram API to avoid any disruption to your services.
Features
The posts are automatically imported during cron or manually in a configuration form.
The fact that the post are stored in Drupal reduces the calls to the api if you have a block or a page showing them wich some times can end up in the requests being blocked.
The posts can then be used in a view or custom block like any other content type in Drupal.
Configuration
The module provides a configuration form (/instagram-nodes-configuration) where you can configure the following elements:
- Acess Token: The instagram Acess Token.
- Contact emails: The emails where a message should be sent when the token expires.
- Maximum posts to keep: Maximum post to keep, when we have more than the defined the older posts are purged.
- Cron execution Interval: Minumum interval in between crons where posts will be imported.
- Send email on expiration: If you wish to receive an email when the token expires.
- Update Posts on Save: If selected posts will be imported on save.
Project information
19 sites report using this module
- Created by kallado on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
