Promokit Instagram (pkinstagram)
Overview
Promokit Instagram fetches recent Instagram media for a public account and renders it in a responsive grid. It supports captions, likes/comments counters and basic per-row layout options.
Configuration
To use the module provide an Instagram Account ID and a long-lived Access Token (create a Meta App and obtain an access token — see Facebook/Meta docs).
Defaults are stored in config/default.json and persisted in the DB under the key PKINSTAGRAM_CONFIG (see src/Config/Config.php).
Key configuration fields:

- account_id — 17-digit Instagram Account ID.
- access_token — long-lived Instagram User Access Token.
- expires_in — token expiration information.
- limit — number of posts to fetch from Instagram (default
12).

- show_caption — toggle to display post captions.
- show_likes_number — toggle to display likes count.
- show_comments_number — toggle to display comments count.
- Per View — number of items per row in the grid.
Hooks used
displayHeader— registers the module stylesheet (views/css/styles.css) so the widget is styled correctly.
CE Widget
Promokit provides a Creative Elements (CE) Instagram widget based on this module that exposes additional view configuration options — use it if you need more layout flexibility.