• Hi Danny,

    thanx a lot for your very nice plugin. Everything works fine, only one thing.
    When I post a link in facebook for example a youtube video or a soundcloud link, in facebook there is a small preview, but on my wordpress site there is no preview only a small white dot.
    I already change the class-widget.php
    ‘show_page_link’ => true,
    ‘show_link_previews’ => true

    but it doesnot work. When I post a picture on Facebook, the picture is shown on my site. But the preview of a link is not shown.

    So what mistake am I doing?

    Thanx a lot and a happy new succesful year, Danny ??

    https://www.ads-software.com/plugins/recent-facebook-posts/

Viewing 15 replies - 1 through 15 (of 15 total)
  • I’m having the same problem. Have anyone found a solution yet?

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi there,

    Are you using the shortcode like this?

    [recent_facebook_posts show_link_previews=1]

    Hi, I have tried the shortcode and the widget and cleared the cache. But the problem is still there.

    Plugin Author Danny van Kooten

    (@dvankooten)

    Could you provide me with a link to your website and your Facebook page so I can take a look and run some tests?

    Thanks!

    Thread Starter clan23

    (@clan23)

    Hi Danny,

    yes I tried [recent_facebook_posts show_link_previews=1]
    but it still does not work.

    I sent you an email with with a link to the website and the Facebook page.

    Hi, I have also sent you a message with the links.
    Regards, Jakob

    Thread Starter clan23

    (@clan23)

    Hi Danny,

    I also made a donation to your paypal adresse 2 days ago, would be nice if you help us out with the solution ??

    Thank you

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi guys,

    I received both emails, just haven’t had the time yet. University deadlines are coming up, sorry. Trust me when I say I’m trying to look into this as soon as I can.

    Thread Starter clan23

    (@clan23)

    haha Danny,

    you are already a business man and a super programmer, you dont need a superficial diploma ?? I think its a waste of time to make a “in the system fitting diploma”, lol. you already got everything you need!

    but hey easy going.
    peace

    Thread Starter clan23

    (@clan23)

    hey Danny,

    still waiting for you answer about our problem. I also made a donation to your paypal. Thank you.

    Plugin Author Danny van Kooten

    (@dvankooten)

    Hi guys,

    Do you have links to your websites where I can see this happening? That would really help!

    Sorry for the delay in my response.

    @clan23, well received and much appreciated, thank you!

    Hi Danny,

    unfortunately i can not give you link only a Screenshot if you want?

    Maybe it’s something in the settings on the facebook side?

    A little late to this party but I’m experiencing the same issue. It appears to happen with embedded media. Links that feature external images show up fine. The plug-in is looking for an image to display and ends up trying to pull something from a PHP file. Here’s the img tag in question:

    <img class="rfbp-image" src="https://fbexternal-a.akamaihd.net/safe_image.php?d=AQAlDDuTSmluZG-7&w=130&h=130&url=http%3A%2F%2Fi1.ytimg.com%2Fvi%2FqeEMBYkHgHY%2Fhqdefault.jpg?type=normal" style="max-width: 100%; max-height: none" alt="" />

    You can view the plug-in on this page https://designgroupmarketing.com/wordpress/social/. Currently the “I Grow” post at the top is the one that has an embedded YouTube video on the Facebook page.

    Thanks.

    I’m trying to fix this as well. Just out of curiosity I installed a few other facebook widgets to see if they could clue me in to a solution. I noticed that the ones that show external preview images end in:

    maxresdefault.jpg

    This widget seems to be requesting everything in the same way right up to the end, which is:

    maxresdefault.jpg?type=normal

    Removing the “?type=normal” while inspecting in Chrome fixes it, I am just not sure how to incorporate this fix into the actual output. Will keep looking into this.

    Not sure if this is a good fix, but if you change this line in includes, class-public.php you can get a small preview for YouTube links.

    Line 236:
    <img class="rfbp-image" src="<?php echo esc_attr($p['image'] . '?type=' . $opts['img_size']); ?>" style="max-width: <?php echo $max_img_width; ?>; max-height: <?php echo $max_img_height; ?>" alt="" />

    to:
    <img class="rfbp-image" src="<?php echo esc_attr($p['image']); ?>" style="max-width: <?php echo $max_img_width; ?>; max-height: <?php echo $max_img_height; ?>" alt="" />

    Just removing that one bit of code seems to give you a small image.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘show link preview’ is closed to new replies.