Search by

sidewaysnyc / sw-classic-ig

sidewaysnyc

Sideways Instagram plugin

Package info

github.com/wearesideways/sw-classic-ig-plugin

Type:wordpress-plugin

pkg:composer/sidewaysnyc/sw-classic-ig

Statistics

Installs: 4 808

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 2

v3.1.0 2026-10-22 05:03 UTC

This package is auto-updated.

Last update: 2026-10-22 05:03:43 UTC


README

Custom Wordpress plugin to import Instagram posts to WP posts (This is a replacement for the dsgnwrks-instagram-importer plugin).

Configuration Vars

You must define following keys to be able to connect with the FB Graph API:

define('SW_IG_FB_APP_ID', 'XXXX');

define('SW_IG_FB_APP_SECRET', 'XXXXX');

Plugin Settings

You can set different settings by project, you must define them on your local-config.php (or wp-config.php) file:

  • Post Type Name: define('SW_IG_POST_TYPE', 'instagram')
  • Default Post Status: define('SW_IG_POST_STATUS', 'publish')
  • On/Off to remove hashtags from title (dsgnwrks remove from post_title, post_content, post_excerpt): define('SW_IG_REMOVE_HASHTAGS', false)

Features

  • Plugin settings page to login and sync feed.
  • Login with FB Business Accounts (must have an Instagram Page Linked)
    • Can login multiple accounts and each account can have many pages/ig_pages linked to it.
  • Import the last 20 Instagram posts as WP Posts.
    • It has validations to prevent duplicated entries compared with the current records on the database.
    • The import is manually.
  • Custom settings depending on the project
    • Set custom posts type name
    • Set default status post
    • Set on/off remove hashtags on IG posts title
  • Setting to enable or disable WP Cron Job for daily automatic imports
    • This will import from all the configured accounts
  • In WP multisites, there will be a configuration page by each subsite

PHP compatibility

Version 3.1 requires PHP 8.3 or newer and supports PHP 8.5 through the maintained Facebook SDK, PSR-18 Guzzle adapter, and Safe 3 dependencies. The configured Graph API version and existing request paths are unchanged.

Run composer install and composer test for the offline compatibility checks. The tests mock all HTTP responses and WordPress writes; they do not log in to Facebook, import posts, run WordPress cron, or send notifications.