4images Forum & Community

4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: coloresonline on September 18, 2012, 07:14:21 PM

Title: Image url for Facebook Comments Social plugin.
Post by: coloresonline 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.


Title: Re: Image url for Facebook Comments Social plugin.
Post by: budduke on September 19, 2012, 12:20:37 AM
Can you post or PM me a link to look at what is happening?
Title: Re: Image url for Facebook Comments Social plugin.
Post by: achraf 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>