SDAweb Social Galleri Feed connects to the Instagram Graph API via a Facebook Page Access Token and displays your posts in a customizable grid gallery with lightbox. Built for speed — feeds load instantly on cached pages with zero network requests.
Features
Layout & Design
* Multiple layouts — Grid, masonry, and highlight modes
* Responsive columns — Separate settings for desktop, laptop, tablet, and mobile
* Profile header — Avatar, username, follower count, bio, and follow button
* Hover effects — Overlay on image hover with gradient
* Color pickers — Customize likes icon, comments icon, and date text colors
Lightbox
* Fullscreen lightbox — Carousel navigation with keyboard and swipe support
* Swipe-up-to-close — Mobile-native gesture
* Engagement stats — Likes, comments, media type badge, and relative date
Content & Filtering
* Multiple feeds — Use feed_id attribute for independent feeds on different pages
* Hashtag filtering — Include or exclude posts by hashtag
* Media type filter — Filter by image, video, or carousel
* Load more — Paginated loading with customizable button
Performance
* Instant loading — Server-side inline JSON, zero network requests on cache hit
* REST API endpoint with legacy AJAX fallback
* Stale-while-revalidate — Expired cache served instantly while refreshing
* WP-Cron background refresh — Cache stays warm automatically
* Smart fetch limit — Only requests what’s needed from the API
* Lazy loading and incremental grid rendering
* Per-IP rate limiting
Localization
* All 30+ frontend strings configurable in admin (Norwegian defaults)
* Relative timestamps and month names customizable
Security
* Bearer token authentication — API token sent via Authorization header
* CSRF protection — check_admin_referer() on all admin actions
* XSS prevention — textContent used instead of innerHTML, all output escaped
* Clean uninstall — Removes all options, transients, and cron jobs
Accessibility
* Full keyboard navigation in lightbox and gallery
* ARIA labels and screen reader support
* Respects prefers-reduced-motion
Shortcode
[sdawsoga_gallery]
Shortcode Attributes
feed_id— Unique ID for independent gallery instanceslimit— Number of posts to display (default: 9)columns— Number of columns (default: 3)layout— grid, masonry, or highlightaspect_ratio— square, portrait, instagram, or originalpadding— Gap between images in pixelsshow_header— Show/hide profile header (true/false)show_loadmore— Show/hide load more button (true/false)hover_effect— Enable/disable hover overlay (true/false)filter_type— all, image, video, or carouselhashtag— Only show posts containing this hashtagexclude_hashtags— Comma-separated hashtags to exclude
Requirements
- A Facebook Page connected to an Instagram Business or Creator account
- A valid Facebook Page Access Token with
instagram_basicpermission - PHP 7.4+ and WordPress 5.8+
Third-Party Services
This plugin connects to the Instagram Graph API (via Facebook) to retrieve your Instagram posts, profile information, and engagement metrics.
- Service: Instagram Graph API / Facebook Graph API
- Website: https://developers.facebook.com/
- Terms of Use: https://developers.facebook.com/terms/
- Privacy Policy: https://www.facebook.com/privacy/policy/
When data is sent: When the plugin refreshes the feed cache (via WP-Cron background refresh or manual cache clear in the admin panel). With default settings, this happens approximately once per hour.
What data is sent: Your Facebook Page Access Token and Instagram Business Account ID are sent to Facebook’s servers to authenticate and retrieve your posts.
No visitor data is collected or transmitted. The plugin does not track site visitors or send any visitor information to external services.