Support » Plugin: WP-Instaroll » [Plugin: WP-Instaroll] Can't get pictures to show up

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author FeliceMente


    Do you get any message?

    Did you specify, in settings, the search tag?

    I was able to set it up, give it a search tag and connect my user account. It even pulled my profile pic back.

    When I go the screen to view the feeds it comes up and says loading… and after about 1 or 2 seconds it looks like it is complete but there are no pictures. I of course also verified that the search term should have returned results.

    Everything looks and acts like is working just fine…there just is no pictures showing up.
    I have changed apps, disconnected, reconnected and all the normal type stuff with no luck.

    Plugin Author FeliceMente


    Sorry for the problem.

    Can you please tell me what browser you’re using (and which version), and what version of WordPress, PHP and MySQL you’re using?

    No worries..

    System Info below including active plugins

    let me know what I can do to help you help me.


    WordPress Version: 3.3.2

    PHP Version: 5.3.10
    MySQL Version: 5.5.17-55-log
    Web Server Info: nginx/1.2.0


    Akismet: 2.5.6
    Audit Trail: 1.1.15
    Gravity Forms:
    Gravity Forms PayPal Add-On: 1.4
    Jetpack by 1.3.4
    Jigoshop: 1.2.2
    JigoShop Carrousel: 1.0
    Jigoshop for PageLines: 1.3
    Login Logo: 0.6
    LoopStack: 1.1
    ManageWP – Worker: 3.9.18
    Pagelines Sections: 1.0
    Post Types Order: 1.5.1

    Sorry forgot the browser … chrome Version 19.0.1084.46

    Plugin Author FeliceMente


    Can you try opening the developer panel in Chrome and checking any strange/error message both in console and in network panels?

    Here is the request from the developer panel…let me know what else I can help with…greg

    Request URL:
    Request Method:GET
    Status Code:200 OK
    Request Headersview parsed
    GET /wp-admin/admin-ajax.php?action=wpinstaroll_photosbyusertable HTTP/1.1
    Connection: keep-alive
    X-Requested-With: XMLHttpRequest
    User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_7_3) AppleWebKit/536.5 (KHTML, like Gecko) Chrome/19.0.1084.46 Safari/536.5
    Accept: */*
    Accept-Encoding: gzip,deflate,sdch
    Accept-Language: en-US,en;q=0.8
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
    Cookie: wordpress_47d39e53337839cd01dc2123f19944ad=gregchambers%7C1337962354%7C926e3f4ef10d95e4472f437c6721de45; pagelines-settings-two-tabs=8; pagelines-special-tabs=1; htabs-default=0; htabs-posts=1; htabs-archive=0; htabs-category=0; htabs-search=0; htabs-tag=0; htabs-author=0; htabs-404_page=0; htabs-product_archive=0; metatabs-tabs=1; PHPSESSID=dkcmd7mbt3956mor4sen3fvl51; __utma=237514246.43783495.1336651921.1337723199.1337789497.12; __utmc=237514246; __utmz=237514246.1336651921.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); __utmv=237514246.|1=logged-in=no=1^3=username=Guest=1; wordpress_test_cookie=WP+Cookie+check; wordpress_logged_in_47d39e53337839cd01dc2123f19944ad=gregchambers%7C1337962354%7C1a32848b063c90e29b72960afe93e376; wp-settings-2=editor%3Dhtml%26imgsize%3Dfull%26align%3Dcenter%26wplink%3D1%26hidetb%3D1; wp-settings-time-2=1337880050
    Query String Parametersview decoded
    Response Headersview parsed
    HTTP/1.1 200 OK
    Server: nginx/1.2.0
    Date: Fri, 25 May 2012 00:28:39 GMT
    Content-Type: text/html; charset=UTF-8
    Transfer-Encoding: chunked
    Connection: keep-alive
    Vary: Accept-Encoding
    Expires: Thu, 19 Nov 1981 08:52:00 GMT
    Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
    Pragma: no-cache
    X-Content-Type-Options: nosniff
    X-Frame-Options: SAMEORIGIN
    Access-Control-Allow-Origin: *
    Content-Encoding: gzip

    Plugin Author FeliceMente


    Sorry for answering so late.
    I don’t think the problem is client related, but due to your server configuration.

    You can perform Instagram authorization, so cURL (that is used for this phase) is installed and working.
    The problem is getting the photos from the user stream and the tag stream, that don’t use cURL.

    If you can perform a test, patching one of the files of the plugin, we could e sure this is the problem, ad then include the patch in the next update.

    The file to modify is wp-instaroll/instagram/instagram.php:
    1. add this block to the beginning of the file, just the line after ‘<?php’:

    function curl_file_get_contents($url)
    	$curl = curl_init();
    	$userAgent = 'Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)';
    	// TRUE to return the transfer as a string of the return value of curl_exec() instead of outputting it out directly
    	// the number of seconds to wait while trying to connect
    	curl_setopt($curl,CURLOPT_CONNECTTIMEOUT, 6); 	
    	curl_setopt($curl, CURLOPT_USERAGENT, $userAgent);
    	curl_setopt($curl, CURLOPT_FAILONERROR, TRUE);
    	curl_setopt($curl, CURLOPT_FOLLOWLOCATION, TRUE);
    	curl_setopt($curl, CURLOPT_AUTOREFERER, TRUE);
    	curl_setopt($curl, CURLOPT_TIMEOUT, 12);	
    	$contents = curl_exec($curl);
    	return $contents;

    2. find
    $file_contents = @file_get_contents(WP_ROLL_INSTAGRAM_USER_STREAM_URLBASE.$accessToken);
    and substitute with:
    $file_contents = @curl_file_get_contents(WP_ROLL_INSTAGRAM_USER_STREAM_URLBASE.$accessToken);

    3. find
    $file_contents = file_get_contents(WP_ROLL_INSTAGRAM_STREAM_BYTAG_URL_A.$tag.WP_ROLL_INSTAGRAM_STREAM_BYTAG_URL_B.$accessToken);
    and substitute it with:
    $file_contents = @curl_file_get_contents(WP_ROLL_INSTAGRAM_STREAM_BYTAG_URL_A.$tag.WP_ROLL_INSTAGRAM_STREAM_BYTAG_URL_B.$accessToken);

    Otherwise, if you send me a support email, I can aswer you, ataching the file already modified.

    Plugin Author FeliceMente


    I tested with a user who had the same exact problem, and version of the plugins resolves the issue.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: WP-Instaroll] Can't get pictures to show up’ is closed to new replies.