Zen Follower
- Join Date:
- Jun 2009
- Location:
- Kent, UK
- Posts:
- 350
- Plugin Contributions:
- 0
Facebook Like Button
this mod doesnt use the iframe code, it uses the XFBML code instead doesn't it?
Views: 52,534
Zen Follower
this mod doesnt use the iframe code, it uses the XFBML code instead doesn't it?
Totally Zenned
what the different ?
can help me anyway ?
Thanks .
Zen Follower
dmagic:
can help me anyway ?
https://developers.facebook.com/ unless its related to this mod i presume this will be the best source of help.
Totally Zenned
installed this mod very well !
but how can remove the images who like the product ?
Example : http://www.king-magic.com/flash-paper5020-p-205.html
Thanks
Totally Zenned
dmagic:
what the different ?
can help me anyway ?
Thanks .
iframe only can access facebook by http - this mod used the script which accesses securely - so it doesn't thrown an error when in secure mode for checkout.
Some of the stuff in this thread applies to the iframe as well because in the end setting the parameters are the same.
Totally Zenned
dmagic:
installed this mod very well !
but how can remove the images who like the product ?
Example : http://www.king-magic.com/flash-paper5020-p-205.html
Thanks
I assume you mean the faces?
In tpl_product_info_display.php:
add the parameter show_faces: false to this:
FB.init({appId: 'your application id', status: true, cookie: true,
xfbml: true});
like this:
FB.init({appId: 'your application id', status: true, cookie: true, show_faces: false,
xfbml: true});
Let me know if that doesn't work. Going on little sleep here and not testing this before I post it.
Totally Zenned
:clap::clap:
fixed the problem :
with this :
<fb:like action="recommend" expr:href='data:post.url' show_faces="no"></fb:like>
Totally Zenned
<iframe src="http://www.facebook.com/plugins/like.php?href=<?php echo urlencode(zen_href_link(zen_get_info_page((int)$_GET['products_id']),'cPath='.(int)$_GET['cPath'].'&products_id=' . (int)$_GET['products_id'])); ?>&layout=standard&show_faces=false&width=450&action=like&colorscheme=light" scrolling="no" frameborder="0" allowTransparency="true" style="border:none; overflow:hidden; width:450px; height:40px"></iframe> ```But in my FB have mistake with the picture ! it's from Bestsellers nor from the product . > > How can fixed ? > > <http://www.king-magic.com> > > Thanksdmagic:
my code is :
I just tried it with the Make Amendsw/dvd product and the image and information were from the product not the bestsellers.
Is this happening with all products or with only one?
Totally Zenned
DarkAngel:
I just tried it with the Make Amendsw/dvd product and the image and information were from the product not the bestsellers.
Is this happening with all products or with only one?
with all the products in besteller .
with this mod it's not happend .
look this site - help me to make my button
Totally Zenned
dmagic:
with all the products in besteller .
with this mod it's not happend .
look this site - help me to make my button
I am sorry but I could never get the FB code to work with anything other than this mod of Delia's. It was the only one that worked on my site with just the one adjustment for darker backgrounds and my removing the button and just leaving the link.
I do not get the faces of those that like the item and the images show on the FB pages when liked.
If you upload all of her files to the places they belong and add the edits in her readme then it will work fine.
Totally Zenned
dmagic:
with all the products in besteller .
with this mod it's not happend .
look this site - help me to make my button
http://fbrell.com/xfbml/fb:like
You keep talking about bestsellers like it was something different. This mod only works on the product page. If you are using it on some other type of page, send the page url so we can look at it.
Totally Zenned
your mod installed very well on my site .
but have a problem .
When i click recommend that posted on my FB .
BUT when my friends click recommend that not posted in FB .
Why that !?
Totally Zenned
It posts on the friends wall - not yours.
Totally Zenned
delia:
It posts on the friends wall - not yours.
yes unless you go to that persons wall you won't see it....unless by chance it is a friend of yours and not just another customer....then if you had liked it before theirs will be added to yours too.
mine do anyway
Totally Zenned
Hi, Couple Issues when I attempt to create a Link to my site in Facebook; THE TITLE: When I post a link from my site into Facebook for any page that isn't a direct Product page it generates a title of "META_TAG_FBTITLE".
All the files upload to right folders .
Totally Zenned
dmagic:
Hi, Couple Issues when I attempt to create a Link to my site in Facebook; THE TITLE: When I post a link from my site into Facebook for any page that isn't a direct Product page it generates a title of "META_TAG_FBTITLE".
All the files upload to right folders .
the only thing I found different in your code for meta tag and FB and my own is this line:
<meta property="og:url" content="I have my store link written here"/>
I have my store link where it is red ending right after market/ just like your link that I followed.
try adding that and see if it works.
Totally Zenned
Very strange
If I click on a product detial - Like - it works! - the mod work.
But if I add link to my site Facebook directly link to this site gives me
META_TAG_FBTITLE
please help to resolve
Totally Zenned
DarkAngel:
the only thing I found different in your code for meta tag and FB and my own is this line:
<meta property="og:url" content="I have my store link written here"/>I have my store link where it is red ending right after market/ just like your link that I followed.
try adding that and see if it works.
i'ts not work - <meta property="og:url" content="ht tp://ww w.king-magi c.co m"/>
Totally Zenned
dmagic:
Very strange
If I click on a product detial - Like - it works! - the mod work.But if I add link to my site Facebook directly link to this site gives me
META_TAG_FBTITLEplease help to resolve
yes if you are having it work right as is at the store then it is correct...but you did not say that it is happening when you post directly to the FB site. mine occasionally does this if I have a generic link but most usually if I post a product page link then I get the image....
I do my post at FB then hit the link button to add the link and when it posts there is the product name/description and the image.
Totally Zenned
that's the problem .
when i post direct link from my site so have the problem .
look the picture .
Tell staff why this post should be reviewed.