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

Facebook Like Button

Views: 52,534

Results 141 to 160 of 347
30 Mar 2011, 12:28 PM
#141
delia avatar

delia

Totally Zenned

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

Facebook Like Button

This mod is only for the product pages and that tag should be included for that. If you are using the code on other pages, there's not way to get it to work correctly completely without a lot of work.

31 Mar 2011, 6:09 AM
#142
nagelkruid avatar

nagelkruid

Zen Follower

Join Date:
Nov 2006
Posts:
284
Plugin Contributions:
0

Re: Facebook Like Button

delia:

This mod is only for the product pages and that tag should be included for that. If you are using the code on other pages, there's not way to get it to work correctly completely without a lot of work.
Hello delia,
the productspages is where i use it.
If i put the tag back in, some products just are unable to be liked.
they will shortly accept when you click but then revert back and nothing happened...ie not posted anything on tfacebook...

31 Mar 2011, 11:45 AM
#143
delia avatar

delia

Totally Zenned

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

Re: Facebook Like Button

No one else has reported this problem so I don't know why you are having it. Is there anything different about those products like product type?

1 Apr 2011, 9:24 AM
#144
nagelkruid avatar

nagelkruid

Zen Follower

Join Date:
Nov 2006
Posts:
284
Plugin Contributions:
0

Re: Facebook Like Button

delia:

No one else has reported this problem so I don't know why you are having it. Is there anything different about those products like product type?
No, the products are very similar, so i was indeed pulling my hairs out :smile:

If you google the unable to like problem in combination with the different image posted on facebook then you should be able to do some interesting reads on the problem.

I had the problem that wrong images where posted (ie not the products main image but the image that was listed first under customers also bought...) AND i also had the problem that i couldn't post some of the products at all.

For the product that i couldn't post (actually tested just with 1 product but no doubt there were more if i had persisted) i did notice that it didn't have the customer's also bought section under it.

When i uncommented the section mentioned, both problems were gone:
correct product picture with the facebook post AND all products are now able to be liked. (afaik)

1 Apr 2011, 12:20 PM
#145
delia avatar

delia

Totally Zenned

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

Re: Facebook Like Button

Well, utter cr..... Unfortunately, this is all about utilizing the Facebook code - not manipulating it. The instructions say that meta tag is required.

Also, one of the biggest problems with Facebook is that they are a moving target. Facebook users are well aware that changes abound whether anyone wants them or not. And so goes the utilization of their code.

They did just make changes to the like buttons. When I did this button some months ago, it was necessary so that one could have comments and images posted. Now any like button anywhere posts a similar post instead of just that single line that says so and so likes something. With those recent changes no telling what might be going on. And since most of us don't really know what gets posted every time someone likes anything of ours?

So, thanks for your input. As long as you (the cart owner) get the results you like, that's what it's all about.

Any further changes to the mod I wrote will be dictated by changed instructions from Facebook which has not happened. I've said before I'm not a Facebook developer. I now can say thank heavens I'm not a Facebook developer!

2 Apr 2011, 9:52 AM
#146
nagelkruid avatar

nagelkruid

Zen Follower

Join Date:
Nov 2006
Posts:
284
Plugin Contributions:
0

Re: Facebook Like Button

delia:

Well, utter cr..... Unfortunately, this is all about utilizing the Facebook code - not manipulating it. The instructions say that meta tag is required.
Yeah, i know, nothing wrong with your code or the module.
Just tought it would be good to post here, in case anyone else comes acroos this, may save someone some time/frustrations :cool:

Thanks,
Jeroen

4 Apr 2011, 9:35 PM
#147
cheekycockney avatar

cheekycockney

Zen Follower

Join Date:
Apr 2006
Posts:
172
Plugin Contributions:
0

Re: Facebook Like Button

Hey. Firstly, thanks for this mod, this was requested by my client and I don't know what I would have done without it! But I do have an issue...

Everything works fine when I'm logged out of my zen cart, but when use the secure server I get the error message 'The app ID specified within the "fb:app_id" meta tag is not allowed on this domain. You must setup the Connect Base Domains for your app to be a prefix'. I'm quite sure this is down to me using a shared ssl certificate temporarily, therefore the url I entered into the facebook app doesn't match the secure one on my host server (server.hostssl.net/mywebaddress). Assuming I'm right, I just wanted to check... can I assume that once I get the dedicated certificate facebook will be happy that https://www.myaddress.com is the same as http:// and not throw up this error? I imagine you guys are bouncing between secure and non-secure connections with no trouble?

Thanks in advance

5 Apr 2011, 10:33 AM
#148
delia avatar

delia

Totally Zenned

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

Re: Facebook Like Button

CheekyCockney:

Hey. Firstly, thanks for this mod, this was requested by my client and I don't know what I would have done without it! But I do have an issue...

Everything works fine when I'm logged out of my zen cart, but when use the secure server I get the error message 'The app ID specified within the "fb:app_id" meta tag is not allowed on this domain. You must setup the Connect Base Domains for your app to be a prefix'. I'm quite sure this is down to me using a shared ssl certificate temporarily, therefore the url I entered into the facebook app doesn't match the secure one on my host server (server.hostssl.net/mywebaddress). Assuming I'm right, I just wanted to check... can I assume that once I get the dedicated certificate facebook will be happy that https://www.myaddress.com is the same as http:// and not throw up this error? I imagine you guys are bouncing between secure and non-secure connections with no trouble?

Thanks in advance

You have to alter your settings in Facebook using Insights for the domain. When you are logged into your Facebook admin account, you should have a my apps link on the left hand side. Click on the website address for your like button and edit settings. I think under website there will be a blank where you can put in the base url (no https or www - just the domain name. If I'm wrong, my apologies but this is a Facebook thing!

5 Apr 2011, 11:04 AM
#149
robax avatar

robax

Zen Follower

Join Date:
Mar 2006
Posts:
187
Plugin Contributions:
0

Re: Facebook Like Button

Hi Delia,

Thanks heaps for putting your work up here for people to use. It's very much appreciated!

I've installed it and have a couple of comments. I used the manual installation as the site is still on 1.3.8

The first is that the Like buttons load very slowly and I can see the status bar message sitting and waiting for Facebook until it finally shows up. I expect this is beyond the control of the mod?

And the other comment is just that there's an error in the readme file: It refers to tpl_product_info.php in a few places, but the file is in fact tpl_product_info_display.php

Thanks again
Rob

5 Apr 2011, 12:21 PM
#150
delia avatar

delia

Totally Zenned

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

Re: Facebook Like Button

robax:

Hi Delia,

Thanks heaps for putting your work up here for people to use. It's very much appreciated!

I've installed it and have a couple of comments. I used the manual installation as the site is still on 1.3.8

The first is that the Like buttons load very slowly and I can see the status bar message sitting and waiting for Facebook until it finally shows up. I expect this is beyond the control of the mod?

And the other comment is just that there's an error in the readme file: It refers to tpl_product_info.php in a few places, but the file is in fact tpl_product_info_display.php

Thanks again
Rob

Yep, it's slower than molasses and I don't have a clue. I'm aware of the mistake in the instructions.

22 Apr 2011, 9:35 AM
#151
arthena avatar

arthena

New Zenner

Join Date:
Jul 2007
Location:
Sunny Cornwall
Posts:
73
Plugin Contributions:
0

Re: Facebook Like Button

Hi, I used the like button mod and everything works fine, except the title is missing in facebook it displays
META_TAG_FBTITLE instead. the link works fine. Any ideas?

Please go easy on me as I am learning!!

Many thanks to all who made this mod possible.

25 Apr 2011, 1:06 PM
#152
delia avatar

delia

Totally Zenned

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

Re: Facebook Like Button

Can you give me your site url so I can look at it? If you don't want it public here, send it to me in a pm.

6 May 2011, 11:13 AM
#153
pazaz avatar

pazaz

New Zenner

Join Date:
May 2007
Posts:
47
Plugin Contributions:
0

Re: Facebook Like Button

I have the same problem and it is driving me crazy. :dontgetit

6 May 2011, 11:42 AM
#154
delia avatar

delia

Totally Zenned

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

Re: Facebook Like Button

again, please give me your url so I can look at it.

7 May 2011, 3:32 AM
#155
pazaz avatar

pazaz

New Zenner

Join Date:
May 2007
Posts:
47
Plugin Contributions:
0

Re: Facebook Like Button

Hi Delia

Its https://www.fumolibre.com/tienda

rgds

Mick

7 May 2011, 11:01 AM
#156
delia avatar

delia

Totally Zenned

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

Re: Facebook Like Button

Mick, it looks like you didn't upload the meta_tags.php file or uploaded it incorrectly. Check to see if you have that file in your template directory under modules.

8 May 2011, 2:27 PM
#157
pazaz avatar

pazaz

New Zenner

Join Date:
May 2007
Posts:
47
Plugin Contributions:
0

Re: Facebook Like Button

Silly me, you were absolutely correct.
Thanks thats working fine now.

rgds
Mick

12 May 2011, 5:27 PM
#158
Join Date:
May 2009
Posts:
5
Plugin Contributions:
0

Re: Facebook Like Button

I have the Like Button installed and it appears to work fine, however, when I enable facebook_sidebox_1-0 the Like button does not display. Has anyone gotten these 2 modules to work together?

12 May 2011, 6:13 PM
#159
delia avatar

delia

Totally Zenned

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

Re: Facebook Like Button

I suspect that's not possible with the like button as it is now. Besides, I believe the fan box creates a security error on secure pages. All Facebook scripts look for the same things so the two can and are interfering with each other.

12 May 2011, 8:01 PM
#160
Join Date:
May 2009
Posts:
5
Plugin Contributions:
0

Re: Facebook Like Button

Thanks for the reply. If anyone is interested I was able to add a sidebox Like Box for my site by adding a sidebox in Banner Manager and pasting the side box code generated from my facebook account. It doesn't interfere with the product like button and it also seems to work with secure pages after I changed the urls to https.