Zen Cart Logo
Forums / All Other Contributions/Addons / Facebook Like Button

Facebook Like Button

Views: 52,534

Results 221 to 240 of 347
7 Aug 2011, 11:26 AM
#221
bonnit avatar

bonnit

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?

7 Aug 2011, 11:30 AM
#222
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Facebook Like Button

what the different ?

can help me anyway ?

Thanks .

7 Aug 2011, 1:55 PM
#223
bonnit avatar

bonnit

Zen Follower

Join Date:
Jun 2009
Location:
Kent, UK
Posts:
350
Plugin Contributions:
0

Re: Facebook Like Button

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.

7 Aug 2011, 2:42 PM
#224
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Facebook Like Button

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

7 Aug 2011, 3:03 PM
#225
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Facebook Like Button

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.

7 Aug 2011, 3:10 PM
#226
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Facebook Like Button

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.

7 Aug 2011, 3:54 PM
#227
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Facebook Like Button

:clap::clap:

fixed the problem :

with this :

<fb:like action="recommend" expr:href='data:post.url' show_faces="no"></fb:like>
7 Aug 2011, 6:51 PM
#228
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Facebook Like Button

dmagic:

my code is :

<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> > > Thanks

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?

7 Aug 2011, 8:06 PM
#229
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Facebook Like Button

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

http://fbrell.com/xfbml/fb:like

7 Aug 2011, 8:44 PM
#230
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Facebook Like Button

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

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.

7 Aug 2011, 10:24 PM
#231
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Facebook Like Button

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.

8 Aug 2011, 8:30 PM
#232
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Facebook Like Button

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 !?

8 Aug 2011, 8:33 PM
#233
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Facebook Like Button

It posts on the friends wall - not yours.

8 Aug 2011, 10:28 PM
#234
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Facebook Like Button

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

13 Aug 2011, 1:15 AM
#235
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Facebook Like Button

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".

http://www.king-magic.com

All the files upload to right folders .

13 Aug 2011, 1:31 AM
#236
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Facebook Like Button

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".

http://www.king-magic.com

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.

13 Aug 2011, 1:43 AM
#237
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Facebook Like Button

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

13 Aug 2011, 1:55 AM
#238
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Facebook Like Button

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"/>

13 Aug 2011, 2:08 AM
#239
darkangel avatar

darkangel

Totally Zenned

Join Date:
Oct 2007
Location:
Emporia, Kansas
Posts:
1,729
Plugin Contributions:
0

Re: Facebook Like Button

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_FBTITLE

please 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.

13 Aug 2011, 2:20 AM
#240
dmagic avatar

dmagic

Totally Zenned

Join Date:
Oct 2008
Posts:
594
Plugin Contributions:
0

Re: Facebook Like Button

that's the problem .
when i post direct link from my site so have the problem .

look the picture .