Spotlight Social Media Feeds - Version 0.2.1

Version Description

(2020-07-13) =

Fixed - "Too many IDs" error when a Business account has more than 50 posts

Download this release

Release Info

Developer Mekku
Plugin Icon 128x128 Spotlight Social Media Feeds
Version 0.2.1
Comparing to
See all releases

Code changes from version 0.2 to 0.2.1

core/IgApi/IgGraphApiClient.php CHANGED
@@ -133,7 +133,7 @@ class IgGraphApiClient
133
  'query' => [
134
  'fields' => implode(',', IgApiUtils::getMediaFields()),
135
  'access_token' => $accessToken->getCode(),
136
- 'limit' => 200,
137
  ],
138
  ]);
139
 
133
  'query' => [
134
  'fields' => implode(',', IgApiUtils::getMediaFields()),
135
  'access_token' => $accessToken->getCode(),
136
+ 'limit' => 50,
137
  ],
138
  ]);
139
 
plugin.php CHANGED
@@ -5,7 +5,7 @@
5
  *
6
  * Plugin Name: Spotlight - Social Photo Feeds
7
  * Description: Easily embed beautiful Instagram feeds on your WordPress site.
8
- * Version: 0.2
9
  * Author: RebelCode
10
  * Plugin URI: https://spotlightwp.com
11
  * Author URI: https://rebelcode.com
5
  *
6
  * Plugin Name: Spotlight - Social Photo Feeds
7
  * Description: Easily embed beautiful Instagram feeds on your WordPress site.
8
+ * Version: 0.2.1
9
  * Author: RebelCode
10
  * Plugin URI: https://spotlightwp.com
11
  * Author URI: https://rebelcode.com
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: Instagram, Instagram feed, Instagram widget, Instagram stories, Instagram
6
  Requires at least: 5.0
7
  Requires PHP: 7.1
8
  Tested up to: 5.4
9
- Stable tag: 0.2
10
  License: GPLv3
11
 
12
  == Description ==
@@ -180,6 +180,11 @@ No need to save your changes then go back and forth between screens to see what
180
 
181
  == Changelog ==
182
 
 
 
 
 
 
183
  = 0.2 (2020-07-09) =
184
 
185
  **Added**
6
  Requires at least: 5.0
7
  Requires PHP: 7.1
8
  Tested up to: 5.4
9
+ Stable tag: 0.2.1
10
  License: GPLv3
11
 
12
  == Description ==
180
 
181
  == Changelog ==
182
 
183
+ = 0.2.1 (2020-07-13) =
184
+
185
+ **Fixed**
186
+ - "Too many IDs" error when a Business account has more than 50 posts
187
+
188
  = 0.2 (2020-07-09) =
189
 
190
  **Added**
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInita3cd7e8e0e75ea5dd3b5c1f94ccbea2d::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInitd1ec09b01047f088a2d5c4ee883b306d::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInita3cd7e8e0e75ea5dd3b5c1f94ccbea2d
6
  {
7
  private static $loader;
8
 
@@ -22,15 +22,15 @@ class ComposerAutoloaderInita3cd7e8e0e75ea5dd3b5c1f94ccbea2d
22
  return self::$loader;
23
  }
24
 
25
- spl_autoload_register(array('ComposerAutoloaderInita3cd7e8e0e75ea5dd3b5c1f94ccbea2d', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
- spl_autoload_unregister(array('ComposerAutoloaderInita3cd7e8e0e75ea5dd3b5c1f94ccbea2d', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
- call_user_func(\Composer\Autoload\ComposerStaticInita3cd7e8e0e75ea5dd3b5c1f94ccbea2d::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
@@ -51,19 +51,19 @@ class ComposerAutoloaderInita3cd7e8e0e75ea5dd3b5c1f94ccbea2d
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
- $includeFiles = Composer\Autoload\ComposerStaticInita3cd7e8e0e75ea5dd3b5c1f94ccbea2d::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
- composerRequirea3cd7e8e0e75ea5dd3b5c1f94ccbea2d($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
- function composerRequirea3cd7e8e0e75ea5dd3b5c1f94ccbea2d($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInitd1ec09b01047f088a2d5c4ee883b306d
6
  {
7
  private static $loader;
8
 
22
  return self::$loader;
23
  }
24
 
25
+ spl_autoload_register(array('ComposerAutoloaderInitd1ec09b01047f088a2d5c4ee883b306d', 'loadClassLoader'), true, true);
26
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
27
+ spl_autoload_unregister(array('ComposerAutoloaderInitd1ec09b01047f088a2d5c4ee883b306d', 'loadClassLoader'));
28
 
29
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
30
  if ($useStaticLoader) {
31
  require_once __DIR__ . '/autoload_static.php';
32
 
33
+ call_user_func(\Composer\Autoload\ComposerStaticInitd1ec09b01047f088a2d5c4ee883b306d::getInitializer($loader));
34
  } else {
35
  $map = require __DIR__ . '/autoload_namespaces.php';
36
  foreach ($map as $namespace => $path) {
51
  $loader->register(true);
52
 
53
  if ($useStaticLoader) {
54
+ $includeFiles = Composer\Autoload\ComposerStaticInitd1ec09b01047f088a2d5c4ee883b306d::$files;
55
  } else {
56
  $includeFiles = require __DIR__ . '/autoload_files.php';
57
  }
58
  foreach ($includeFiles as $fileIdentifier => $file) {
59
+ composerRequired1ec09b01047f088a2d5c4ee883b306d($fileIdentifier, $file);
60
  }
61
 
62
  return $loader;
63
  }
64
  }
65
 
66
+ function composerRequired1ec09b01047f088a2d5c4ee883b306d($fileIdentifier, $file)
67
  {
68
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
69
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInita3cd7e8e0e75ea5dd3b5c1f94ccbea2d
8
  {
9
  public static $files = array (
10
  '25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php',
@@ -475,9 +475,9 @@ class ComposerStaticInita3cd7e8e0e75ea5dd3b5c1f94ccbea2d
475
  public static function getInitializer(ClassLoader $loader)
476
  {
477
  return \Closure::bind(function () use ($loader) {
478
- $loader->prefixLengthsPsr4 = ComposerStaticInita3cd7e8e0e75ea5dd3b5c1f94ccbea2d::$prefixLengthsPsr4;
479
- $loader->prefixDirsPsr4 = ComposerStaticInita3cd7e8e0e75ea5dd3b5c1f94ccbea2d::$prefixDirsPsr4;
480
- $loader->classMap = ComposerStaticInita3cd7e8e0e75ea5dd3b5c1f94ccbea2d::$classMap;
481
 
482
  }, null, ClassLoader::class);
483
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInitd1ec09b01047f088a2d5c4ee883b306d
8
  {
9
  public static $files = array (
10
  '25072dd6e2470089de65ae7bf11d3109' => __DIR__ . '/..' . '/symfony/polyfill-php72/bootstrap.php',
475
  public static function getInitializer(ClassLoader $loader)
476
  {
477
  return \Closure::bind(function () use ($loader) {
478
+ $loader->prefixLengthsPsr4 = ComposerStaticInitd1ec09b01047f088a2d5c4ee883b306d::$prefixLengthsPsr4;
479
+ $loader->prefixDirsPsr4 = ComposerStaticInitd1ec09b01047f088a2d5c4ee883b306d::$prefixDirsPsr4;
480
+ $loader->classMap = ComposerStaticInitd1ec09b01047f088a2d5c4ee883b306d::$classMap;
481
 
482
  }, null, ClassLoader::class);
483
  }