Author Topic: Image url for Facebook Comments Social plugin.  (Read 6054 times)

0 Members and 1 Guest are viewing this topic.

Offline coloresonline

  • Newbie
  • *
  • Posts: 10
    • View Profile
Image url for Facebook Comments Social plugin.
« on: September 18, 2012, 07:14:21 PM »
Hi, i would like to know if it is possible to use the Facebook Comments plugin without a mod in 4 images. Directly with the FB Code in html5 or Xfbml

I've tried to insert the Facebook Comments and it works perfectly with hhtpp:www.mydomain.com but my problem is that i can't get the image url with the shortcode of 4images {image_url}, and i would like specific commnets for each picture.

I hope you can understand what i need... This would be the example of FB Code i'm using but give me a blank url:

Code: [Select]
<fb:comments href="{image_url}" num_posts="5" width="630"></fb:comments> This shortcode doesn't works inside facebook, but works perfectly in a text link.

or in html5
Code: [Select]
<div class="fb-comments" data-href="{image_url}" data-num-posts="10" data-width="630"></div>

Addional info: The comments are working but there is a alert message when there aren't comments talking about including href. So the href is without url if you see the html code in the navigator.
Warning: this comments plugin operates in compatibility mode, but still contains publications. As suggested in the documentation comments plugin, specify an "href" explicit to use the full functionality of the plug-in.




Regards.


« Last Edit: September 18, 2012, 07:38:31 PM by coloresonline »

Offline budduke

  • Hero Member
  • *****
  • Posts: 506
    • View Profile
    • http://www.budduke.com
Re: Image url for Facebook Comments Social plugin.
« Reply #1 on: September 19, 2012, 12:20:37 AM »
Can you post or PM me a link to look at what is happening?
Buddy Duke
www.budduke.com

Offline achraf

  • Pre-Newbie
  • Posts: 9
    • View Profile
Re: Image url for Facebook Comments Social plugin.
« Reply #2 on: November 21, 2017, 08:37:23 PM »
Simply:

http://your_website/details.php?image_id={image_id}

<div class="fb-comments" data-href="http://your_website/details.php?image_id={image_id}" data-num-posts="10" data-width="630"></div>