Support » Plugins and Hacks » Photonic Gallery for Flickr, Picasa, SmugMug, 500px, Zenfolio and Instagram » Instagram Problem – No Data Returned. Unknown Error.

Instagram Problem – No Data Returned. Unknown Error.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Here is the page that is having the error. Sometimes it works… sometimes it does not. Please see if you can repeat the error.


    Same issue here.
    The photos are shown just fine, when I work locally. However, on my test server they never render (not even occasionally).

    I’ve tried to change the redirect URI in the Instagram app setup, but to no avail.

    I do see the photos on your site, @thestoryshop.

    I found a solution for my scenario.
    It was related to how the plugin fetches the images from Instagram.

    If I set the decompress option to false in the call to wp_remote_request in the Photonic_Instagram_Processor class, it works fine.

    I guess it’s related to the configuration of the server on my (shared) host.

    So, if anyone is feeling adventurous, go edit the file here /extensions/Photonic_Instagram_Processor.php and change the code starting at line 233 from this:

    $response = wp_remote_request($query, array(
      'sslverify' => false,

    to this:

    $response = wp_remote_request($query, array(
      'sslverify' => false,
      'decompress' => false

    You will have to do this anytime you update the plugin.

    Would be nice if the plugin author could chime in, and tell us if this could/should be added permanently to the plugin (I’ll gladly submit a Pull Request on GitHub!).

    Plugin Author Sayontan Sinha


    Interesting. Thanks for the research. I will add it to the plugin for the next release.

    Nice, thanks!
    I should note that I’m not 100% certain whether this is a one-size-fits-all solution, but it seems safe enough to add it to the plugin.

    According to the docs, it should work fine. Note that the option was added in 2.8, in case you aim to support older WP versions.

    Thanks again for a great plugin.

    Plugin Author Sayontan Sinha


    I will add this as an option, so that users can turn it on or off depending on whether they need it.

    The plugin requires at least WP 3.3, hence there should be no issues with using the code.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Instagram Problem – No Data Returned. Unknown Error.’ is closed to new replies.
Skip to toolbar