4images Forum & Community
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 20, 2018, 05:17:58 PM

Login with username, password and session length
Search:     Advanced search
Togle to toolbar
Translate this page with =>
Translate this page >
* Home Help Search Login Register
 
+  4images Forum & Community
|-+  4images Issues / Ausgaben
| |-+  Discussion & Troubleshooting (Moderators: Acidgod, ivan, Rembrandt)
| | |-+  Image url for Facebook Comments Social plugin.
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Image url for Facebook Comments Social plugin.  (Read 3440 times)
coloresonline
Newbie
*
Offline Offline

Posts: 10

Thank You
-Given: 10
-Receive: 0


View Profile
« 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:

1
<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
1
<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 » Logged
budduke
Hero Member
*****
Offline Offline

Posts: 506

Thank You
-Given: 10
-Receive: 124


View Profile WWW
« Reply #1 on: September 19, 2012, 12:20:37 AM »

Can you post or PM me a link to look at what is happening?
Logged

Buddy Duke
www.budduke.com
achraf
Pre-Newbie

Offline Offline

Posts: 9

Thank You
-Given: 2
-Receive: 0


View Profile
« 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>
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.035 seconds with 19 queries.