Title: Import Error &#8211; Changes in Instagram API
Last modified: August 24, 2016

---

# Import Error – Changes in Instagram API

 *  Resolved [mike_the_man](https://wordpress.org/support/users/mike_the_man/)
 * (@mike_the_man)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/import-error-changes-in-instagram-api/)
 * hi,
 * did someone face import errors since the api changes on april 5th?
    the following
   error occurs : APIInvalidParametersError, Count must be larger than zero.
 * any ideas what to do?
 * thanks for your help!
 * [https://wordpress.org/plugins/instateam-instagram-importer/](https://wordpress.org/plugins/instateam-instagram-importer/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [jmarx34](https://wordpress.org/support/users/jmarx34/)
 * (@jmarx34)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/import-error-changes-in-instagram-api/#post-6029701)
 * [@mike_the_man](https://wordpress.org/support/users/mike_the_man/)
    any movement
   on this? just downloaded and tried running the plugin, and nothing is pulling(
   either user or hashtag-based). getting a number of PHP Warnings and Notices, 
   but no Errors in our logs. all folder permissions are set to 777. but we aren’t
   getting any results.
 *  Thread Starter [mike_the_man](https://wordpress.org/support/users/mike_the_man/)
 * (@mike_the_man)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/import-error-changes-in-instagram-api/#post-6029702)
 * hi,
 * yes, as it turned out there was a change in the api of instagram.
 * go to your plugin directory-lib-instagram.class.php and find row 267 – getTagMedia
   function
 * replace:
    return $this->_makeCall(‘tags/’ . $name . ‘/media/recent’, false, array(‘
   count’ => $limit));
 * with:
 * if($limit>0) {
    return $this->_makeCall(‘tags/’ . $name . ‘/media/recent’, false,
   array(‘count’ => $limit)); }else{ return $this->_makeCall(‘tags/’ . $name . ‘/
   media/recent’, true); }
 * now it should work again.
 * I hope I could help you!
 * cheers,
    michael
 *  Plugin Author [Andy Brudtkuhl](https://wordpress.org/support/users/abrudtkuhl/)
 * (@abrudtkuhl)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/import-error-changes-in-instagram-api/#post-6029718)
 * This shouldn’t be marked as resolved until the plugin has actually been updated.
 *  Plugin Author [Andy Brudtkuhl](https://wordpress.org/support/users/abrudtkuhl/)
 * (@abrudtkuhl)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/import-error-changes-in-instagram-api/#post-6029719)
 * I just pushed this [fix in version 1.1 of the plugin](https://github.com/SPARK6/s6-instagram-plugin/commit/d61a62682a6f82c58f71d6d9b5915763b6a0607d).
   You should be able to update in your WordPress dashboard.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Import Error – Changes in Instagram API’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/instateam-instagram-importer_8c5942.
   svg)
 * [InstaTeam Instagram Importer](https://wordpress.org/plugins/instateam-instagram-importer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/instateam-instagram-importer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/instateam-instagram-importer/)
 * [Active Topics](https://wordpress.org/support/plugin/instateam-instagram-importer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/instateam-instagram-importer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/instateam-instagram-importer/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Andy Brudtkuhl](https://wordpress.org/support/users/abrudtkuhl/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/import-error-changes-in-instagram-api/#post-6029719)
 * Status: resolved