Viewing 15 replies - 16 through 30 (of 37 total)
  • Plugin Author Scott (@scottsweb)

    (@scottsweb)

    @georgegrigorita great thanks! So the version currently on GitHub is working well for you?

    Exactly, the GitHub version solved the problem for me.

    Plugin Author Scott (@scottsweb)

    (@scottsweb)

    Thanks George

    Version 1.9.3 is out and I am hoping it has fixed the issues reported here. I would love to know if that is the case ??

    It works for some images, but not all.
    https://shradersworld.com/clients/caroline/blog/

    Is there something my client should be doing differently in order to get it to work? I believe they all worked with 1.9.1.

    Plugin Author Scott (@scottsweb)

    (@scottsweb)

    Brian… is this with 1.9.3 that some images are broken? There is nothing your client can do. Instagram use different CDN URLs for media depending on where you are. In the UK I get different URLs, the code is working for me.

    I was getting reports that 1.9.1 was failing with video URLs in some locations. This was fixed in 1.9.2 but introduced the issues above.

    As I said before I will need the help of others to fix and debug this.

    With each issue reported I need:

    Plugin version
    Instagram username
    Your approx location
    If its a video or image or all that fails
    The generated URL for the broken image

    I will try and post back later with some other debugging tips

    Hey Scott,

    I just updated to v1.9.3
    Your latest update fixed my feed except for one, and it’s a video.
    I’m in Ontario, Canada.
    This is the URL for the img src: ////scontent.cdninstagram.com/s160x160/hphotos-xap1/t51.2885-15/e15/c140.0.360.360/12276859_1069920513046910_1609738756_n.jpg
    (yes, that’s four slashes at the beginning)

    Thanks for all the work you’re putting into this.

    Plugin Author Scott (@scottsweb)

    (@scottsweb)

    Thank @dohnutt – I have used a VPN to test from Cananda and still cannot reproduce.

    Can I get you all to debug this by:

    Commenting out line: #165
    https://github.com/scottsweb/wp-instagram-widget/blob/master/wp-instagram-widget.php#L165

    Commenting out line: #240
    https://github.com/scottsweb/wp-instagram-widget/blob/master/wp-instagram-widget.php#L240

    Adding:

    print_r( $image['thumbnail_src'] );

    to line #194 https://github.com/scottsweb/wp-instagram-widget/blob/master/wp-instagram-widget.php#L194

    And then letting me know the URL printed to the screen of any broken images.

    Thread Starter adijeff

    (@adijeff)

    Hi Scott,

    I updated to v1.9.3 and was getting some images missing. The first 12 were fine, and the last three showed broken links.

    I followed your instructions above (post-7885711) and I get this text on screen, no thumbnails:
    https://scontent.cdninstagram.com/hphotos-xpt1/t51.2885-15/s640x640/sh0.08/e35/c180.0.719.719/1172247_898485263602030_1925108132_n.jpghttps://scontent.cdninstagram.com/hphotos-xpf1/t51.2885-15/s640x640/sh0.08/e35/12393624_1027999930577038_1127942759_n.jpg

    When I reverted back to v1.9.3 only one image appears (no broken linkes, just a single thumbnail):
    //scontent.cdninstagram.com/hphotos-xpt1/t51.2885-15/s160x160/sh0.08/e35/c180.0.719.719/1172247_898485263602030_1925108132_n.jpg

    So I rolled back to v1.9.1 and all is back to normal.

    When repeating this procedure above, only one image shows this time, which is strange.

    I hope that’s of use, but probably not!

    Plugin Author Scott (@scottsweb)

    (@scottsweb)

    Thanks for looking @adijeff. I imagine the the other images are being output to the page but are being hidden by CSS overflow. The code change simply outputs the original URL to the page for each and every image and disables caching to make sure it is fresh content.

    Both of those URLs you have seen are working with the code I have so my guess is those are working images for you in 1.9.3.

    What I need is the URLs of the failed images. If you view source and search for //// and give me the output of the similar URL from the print_r we have added.

    In your case searching your source for 12393624_1027999930577038_1127942759_n should give you two results. Paste both of those… providing that image is still broken anyway ??

    Hope that makes sense.

    Thread Starter adijeff

    (@adijeff)

    It’s not a CSS overflow issue. There is only one image being displayed. Compare the code of the whole instagram widget, set to show 15 thumbnails:

    With v1.9.3 and no code modifications:
    <li id="null-instagram-feed-2" class="widget null-instagram-feed"><h2 class="widgettitle">Instagram</h2><ul class="instagram-pics instagram-size-thumbnail"><li class=""><a rel="nofollow" href="//instagram.com/p/BAeQ3gQtE04" target="_self" class=""><img src="//scontent.cdninstagram.com/hphotos-xpt1/t51.2885-15/s160x160/sh0.08/e35/c180.0.719.719/1172247_898485263602030_1925108132_n.jpg" alt="One from my latest headshot sitting in my studio :) #headshot #headshots #business #photographer" title="One from my latest headshot sitting in my studio :) #headshot #headshots #business #photographer" class=""></a></li></ul></li>

    With v.1.9.3 and your code modifications:

    <li id="null-instagram-feed-2" class="widget null-instagram-feed"><h2 class="widgettitle">Instagram</h2>
    https://scontent.cdninstagram.com/hphotos-xpt1/t51.2885-15/s640x640/sh0.08/e35/c180.0.719.719/1172247_898485263602030_1925108132_n.jpghttps://scontent.cdninstagram.com/hphotos-xpf1/t51.2885-15/s640x640/sh0.08/e35/12393624_1027999930577038_1127942759_n.jpg</li>

    With v1.9.1 (all 15 images with alt and title tags removed for clarity):

    <li id="null-instagram-feed-2" class="widget null-instagram-feed last"><h2 class="widgettitle">Instagram</h2>
    <ul class="instagram-pics instagram-size-thumbnail"><li class=""><a rel="nofollow" href="//instagram.com/p/BAeQ3gQtE04" target="_self" class=""><img src="//scontent.cdninstagram.com/hphotos-xpt1/t51.2885-15/s160x160/sh0.08/e35/c180.0.719.719/1172247_898485263602030_1925108132_n.jpg"></a></li><li class=""><a rel="nofollow" href="//instagram.com/p/_P0uyVNEzm" target="_self" class=""><img src="//scontent.cdninstagram.com/hphotos-xpf1/t51.2885-15/s160x160/sh0.08/e35/12393624_1027999930577038_1127942759_n.jpg"><img src="//scontent.cdninstagram.com/hphotos-xfa1/t51.2885-15/s160x160/sh0.08/e35/c180.0.720.720/12256616_139468423079793_969528075_n.jpg"></a></li><li class=""><a rel="nofollow" href="//instagram.com/p/8igTt1tE3j" target="_self" class=""><img src="//scontent.cdninstagram.com/hphotos-xpa1/t51.2885-15/s160x160/sh0.08/e35/c180.0.720.720/12093357_143828745970052_2141145892_n.jpg"></a></li><li class=""><a rel="nofollow" href="//instagram.com/p/78m-LfNE8H" target="_self" class=""><img src="//scontent.cdninstagram.com/hphotos-xtf1/t51.2885-15/s160x160/sh0.08/e35/11821072_1498172167165976_796584616_n.jpg"></a></li><li class=""><a rel="nofollow" href="//instagram.com/p/7wBSXeNE6I" target="_self" class=""><img src="//scontent.cdninstagram.com/hphotos-xtf1/t51.2885-15/s160x160/sh0.08/e35/c180.0.720.720/11850214_1026279927396170_1973750660_n.jpg"><img src="//scontent.cdninstagram.com/hphotos-xtf1/t51.2885-15/s160x160/sh0.08/e35/11821200_522308077918443_630506456_n.jpg"><a rel="nofollow" href="//instagram.com/p/5rkNMXNE7A" target="_self" class=""><img src="//scontent.cdninstagram.com/hphotos-xft1/t51.2885-15/s160x160/sh0.08/e35/11428220_936749579715734_959479902_n.jpg"></a></li><li class=""><a rel="nofollow" href="//instagram.com/p/5q3Wa8NEwS" target="_self" class=""><img src="//scontent.cdninstagram.com/hphotos-xtf1/t51.2885-15/s160x160/sh0.08/e35/11374633_1676533605909460_226056646_n.jpg"><a rel="nofollow" href="//instagram.com/p/5VACMOtE5C" target="_self" class=""><img src="//scontent.cdninstagram.com/hphotos-xap1/t51.2885-15/s160x160/sh0.08/e35/11355027_1606433162958076_1476590_n.jpg"></a></li><li class=""><a rel="nofollow" href="//instagram.com/p/5LFJDRNE32" target="_self" class=""><img src="//scontent.cdninstagram.com/hphotos-xpa1/t51.2885-15/s160x160/sh0.08/e35/915592_115644998776784_1356470714_n.jpg"><a rel="nofollow" href="//instagram.com/p/5F3Uu9tE2c" target="_self" class=""><img src="//scontent.cdninstagram.com/hphotos-xpa1/t51.2885-15/s160x160/sh0.08/e35/11427253_815976465183233_1573487885_n.jpg"><a rel="nofollow" href="//instagram.com/p/4MlioPNE0F" target="_self" class=""><img src="///scontent.cdninstagram.com/hphotos-xpa1/s160x160/t51.2885-15/e15/11352148_833063710113159_2068400965_n.jpg"></a></li><li class=""><a rel="nofollow" href="//instagram.com/p/3O5u29NE5f" target="_self" class=""><img src="///scontent.cdninstagram.com/hphotos-xpt1/s160x160/t51.2885-15/e15/11313382_1453883454922399_1954159312_n.jpg"></a></li><li class=""><a rel="nofollow" href="//instagram.com/p/3Nv4hAtEz7" target="_self" class=""><img src="///scontent.cdninstagram.com/hphotos-xap1/s160x160/t51.2885-15/e15/11335522_477779579044622_126244400_n.jpg"></a></li></ul></li>

    Plugin version – 1.9.3
    Instagram username – throwback_diary
    Your approx location – Georgia, United States
    If its a video or image or all that fails – 2 are videos, 1 is an image
    The generated URL for the broken image:
    ////scontent.cdninstagram.com/s160x160/hphotos-xpa1/t51.2885-15/e15/10375862_889699937815294_1497468292_n.jpg
    ////scontent.cdninstagram.com/s160x160/hphotos-xtp1/t51.2885-15/e35/12394028_209004079442951_1197298134_n.jpg
    ////scontent.cdninstagram.com/s160x160/hphotos-xpf1/t51.2885-15/e15/1173097_1683005105311645_1684826431_n.jpg

    Here’s the link to the WP site again: https://shradersworld.com/clients/caroline/blog/

    Of the 9 images I’m using, 6 are showing up and 3 aren’t. The 6 that are showing up look like this:
    //scontent.cdninstagram.com/hphotos-xpt1/t51.2885-15/s160x160/sh0.08/e35/c0.135.1080.1080/12558925_1734270653472705_460756858_n.jpg
    //scontent.cdninstagram.com/hphotos-xpf1/l/t51.2885-15/s160x160/sh0.08/e35/10597429_1011080052272101_2086577022_n.jpg
    //scontent.cdninstagram.com/hphotos-xtf1/t51.2885-15/s160x160/sh0.08/e35/1741574_1522333654733337_2030122069_n.jpg

    Does it have something to do with the “////” instead of “//”?

    Plugin Author Scott (@scottsweb)

    (@scottsweb)

    @brianshrader that is indeed the issue, but I need to understand why certain URLs are given that treatment in certain geographic locations.

    Can you follow the debugging steps here: https://www.ads-software.com/support/topic/502-error-retrieving-thumbnails?replies=27#post-7885711 and report back with the URLs that are printed to the screen. I am interested in the original URLs of the broken images only. They should look something like:

    https://scontent.cdninstagram.com/hphotos-xpa1/t51.2885-15/e15/10375862_889699937815294_1497468292_n.jpg
    https://scontent.cdninstagram.com/hphotos-xtp1/t51.2885-15/e35/12394028_209004079442951_1197298134_n.jpg
    https://scontent.cdninstagram.com/hphotos-xpf1/t51.2885-15/e15/1173097_1683005105311645_1684826431_n.jpg

    I want to know what the URLs look like before my plugin modifies them.

    I too am having these issues. I am on 1.9.3 with 4.4.1. The thumbnails were working before 1.9.3.

    5/8 are working and 3/8 are not – the ones that aren’t are all videos on Instagram.

    Example that is working:
    //scontent.cdninstagram.com/hphotos-xtp1/t51.2885-15/s320x320/sh0.08/e35/c135.0.810.810/12356599_915444125206315_1875706108_n.jpg

    Example not working:
    ////scontent.cdninstagram.com/s320x320/hphotos-xap1/t51.2885-15/e15/12357777_1487540271554694_1208429177_n.jpg

    Link is here: https://dev.otmoffice.com/otm2015/

    Let me know if I can do anything to help track it down.

    Plugin Author Scott (@scottsweb)

    (@scottsweb)

Viewing 15 replies - 16 through 30 (of 37 total)
  • The topic ‘502 error retrieving thumbnails’ is closed to new replies.