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

Facebook Like Button

Views: 52,534

Results 61 to 80 of 347
17 Oct 2010, 5:32 PM
#61
delia avatar

delia

Totally Zenned

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

Facebook Like Button

labrat:

The iFrame is gone now...had to clear the cache however, I'm still stuck with width:450px for the div which pushes my right column too far right. Looks like the javascript is from an external site connect.facebook... Any ideas how I can override the standard 450px?

if it's coming out of their system, there may be ways to change it - I suggest posting a question in their forum.

labrat:

P.S. Not sure if it's been mentioned before but shouldn't tpl_product_info.php be tpl_product_info_display?

Sorry, that's what I meant!

21 Oct 2010, 5:52 PM
#62
evilonion avatar

evilonion

New Zenner

Join Date:
Feb 2010
Posts:
68
Plugin Contributions:
0

Re: Facebook Like Button

hi,

i just cant seem to get this app to work.
I have auto fb and auto tweet working fine, then i moved onto this app.

I followed all the instructions, added the correct text to the header, uploaded metatags and then made the changes to product info display.

The facebook button shows up, you click like and it logs you in... then it registers you as liking.
this seems fine... but then it all vanishes and just says 'error'

if you click the error it says an internal error occured.

"There was an internal error when updating the Page.
Facebook ©2010"

21 Oct 2010, 6:05 PM
#63
delia avatar

delia

Totally Zenned

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

Re: Facebook Like Button

I found a deveoper's tool for testing your page
http://developers.facebook.com/tools/lint/

I don't know what that error means

21 Oct 2010, 6:29 PM
#64
evilonion avatar

evilonion

New Zenner

Join Date:
Feb 2010
Posts:
68
Plugin Contributions:
0

Re: Facebook Like Button

thanks for the quick reply
the error is this:

The fb:admins field should be a comma delimited list of Facebook profile IDs (with some whitespace around if you want), i.e. it should match /^\s*[0-9]+(\s*,\s*[0-9]+)\s$/. You wrote "facebookusername"

anyone able to shed some light on this error?

i have it running fine on one of my sites... so i copied it across and made the requiered changes and now im getting an error.

im assuming the fb admin would be the username on facebook?

so if it was facebook.com/myname i would just type... myname?
seemed to have worked with my other site.

21 Oct 2010, 6:43 PM
#65
delia avatar

delia

Totally Zenned

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

Re: Facebook Like Button

You are supposed to change the facebookuseridname in 2 files as stated in the readme files . Have you gotten an app id for your site yet?

21 Oct 2010, 6:48 PM
#66
evilonion avatar

evilonion

New Zenner

Join Date:
Feb 2010
Posts:
68
Plugin Contributions:
0

Re: Facebook Like Button

hi,

i created an app.
i then had an app id... i placed this in the relevant file.
i then placed my user id (facebook name at end of .com/) into the header file and uploaded the files into the relevant locations.

i must be missing something simple.
I will remove all files, upload base zen files again and start again.

21 Oct 2010, 8:22 PM
#67
delia avatar

delia

Totally Zenned

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

Re: Facebook Like Button

the app id works in both places

23 Oct 2010, 4:55 PM
#68
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Facebook Like Button

evilonion:

hi,

i just cant seem to get this app to work.
I have auto fb and auto tweet working fine, then i moved onto this app.

I followed all the instructions, added the correct text to the header, uploaded metatags and then made the changes to product info display.

The facebook button shows up, you click like and it logs you in... then it registers you as liking.
this seems fine... but then it all vanishes and just says 'error'

if you click the error it says an internal error occured.

"There was an internal error when updating the Page.
Facebook ©2010"

The problem you're having is happening on our site as well but I don't know how to fix it. It's also happening on the sample site the developer of this mod provided so it's more than just you.

If like a page that has already been like it works, if you like a page and you're the first person to like it it doesn't work, it errors. It looks like it's erroring at the point of trying to create the page on Facebook side. I am guessing it's facebook error but it's been days now with the like button not working. I am so tempted to disable it.

23 Oct 2010, 5:56 PM
#69
delia avatar

delia

Totally Zenned

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

Re: Facebook Like Button

It's all dependent on Facebook. I'm seeing problems with a number of Facebook apps not working off and on.

26 Oct 2010, 12:35 AM
#70
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Facebook Like Button

If anybody is using this mod and it's working on your site please let me know.

26 Oct 2010, 4:45 AM
#71
labrat avatar

labrat

Zen Follower

Join Date:
Apr 2004
Location:
Australia
Posts:
136
Plugin Contributions:
0

Re: Facebook Like Button

Not working for me on my Zen Cart site now, I use a different mod for my Joomla sites and my Like Buttons work fine. I'll have a poke around and see what I can find out. Would be great to get it working.

26 Oct 2010, 5:05 AM
#72
blessisaacola avatar

blessisaacola

Totally Zenned

Join Date:
Feb 2004
Location:
Georgia, USA
Posts:
1,875
Plugin Contributions:
1

Re: Facebook Like Button

labrat:

Not working for me on my Zen Cart site now, I use a different mod for my Joomla sites and my Like Buttons work fine. I'll have a poke around and see what I can find out. Would be great to get it working.

So far the sites that I have seen that have this working are not using FBML, not really sure what's going on with Facebook Apps but their system is messed up.

26 Oct 2010, 11:51 AM
#73
delia avatar

delia

Totally Zenned

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

Re: Facebook Like Button

I just checked the developers forum and there are others in the same boat. Facebook has replied but it was a really weak answer. I have asked them to escalate this apparent bug. It has to be due to a change in their script.

27 Oct 2010, 4:39 PM
#74
jabbawest avatar

jabbawest

Zen Follower

Join Date:
Oct 2009
Location:
Texas
Posts:
197
Plugin Contributions:
0

Re: Facebook Like Button

delia:

I just checked the developers forum and there are others in the same boat. Facebook has replied but it was a really weak answer. I have asked them to escalate this apparent bug. It has to be due to a change in their script.
Hey Delia!
Thanks for the contribution and I'm in the same boat with regards to the error.
One thing though.
I caught the tpl_product_info_display.php naming error but the instructions also suggests that the meta_tags.php file is in includes/modules/my_template folder.
Shouldn't that be the includes/modules folder?

Also, I'm no coding expert but, while adding

<html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?> xmlns:fb="http://www.facebook.com/2008/fbml"> to my html_header.php file, it shows in my editor as just black text, as if it needs, or is missing something. ```php <html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?> xmlns:fb="http://www.facebook.com/2008/fbml"> ```Thanks again.
27 Oct 2010, 5:02 PM
#75
jabbawest avatar

jabbawest

Zen Follower

Join Date:
Oct 2009
Location:
Texas
Posts:
197
Plugin Contributions:
0

Re: Facebook Like Button

ZC v1.3.8a
Hang on here.
I get the FB error on certain items, for example
http://minu.me/37a7
but it is working on other items and working just fine.
For example http://minu.me/37aa

27 Oct 2010, 5:24 PM
#76
jabbawest avatar

jabbawest

Zen Follower

Join Date:
Oct 2009
Location:
Texas
Posts:
197
Plugin Contributions:
0

Re: Facebook Like Button

Excuse me for not including this in one of my previous posts but, how can I edit the look of the widget?
As you can see, or cannot see, the "Be the first of your friends to like this." is lost on my black template.

Thanks so much for this cool addition and I hope the bugs get worked out of it.

27 Oct 2010, 8:04 PM
#77
creinold avatar

creinold

Zen Follower

Join Date:
Sep 2008
Location:
North Highlands, California 95660
Posts:
287
Plugin Contributions:
0

Re: Facebook Like Button

Ill try to extract the codes I use on my cart and send them to you to see if it helps. I was making a social media mod that I had to put a side due to some other things going on. You can check it out at my clients website http://www.gotleather.com just pick a product and you'll see it.

Charles

27 Oct 2010, 11:56 PM
#78
sybertemplates avatar

sybertemplates

New Zenner

Join Date:
Mar 2010
Posts:
24
Plugin Contributions:
0

Re: Facebook Like Button

Hi Everybody...

I found the solution to the error

The application ID specified within the "fb:app_id" meta tag is not allowed on this domain. You must setup the Connect Base Domains for your application to be a prefix of

Sign into your facebook application and click into edit settings.

Click on website and the following should be in place

Application ID
Application Secret
Site URL HTTP://WWW.YOURDOMAIN.COM
Site Domain YOURDOMAIN.COM

Once I put the site domain in as mydomain.com it worked. :clap:

If anyone needs help let me know.

28 Oct 2010, 11:14 AM
#79
delia avatar

delia

Totally Zenned

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

Re: Facebook Like Button

jabbawest:

Hey Delia!
Thanks for the contribution and I'm in the same boat with regards to the error.
One thing though.
I caught the tpl_product_info_display.php naming error but the instructions also suggests that the meta_tags.php file is in includes/modules/my_template folder.
Shouldn't that be the includes/modules folder?

Also, I'm no coding expert but, while adding

<html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?> xmlns:fb="http://www.facebook.com/2008/fbml"> to my html_header.php file, it shows in my editor as just black text, as if it needs, or is missing something. ```php
<html xmlns="http://www.w3.org/1999/xhtml" <?php echo HTML_PARAMS; ?> xmlns:fb="http://www.facebook.com/2008/fbml"> ```Thanks again.

No, the metatags.php is already there. This is a change so belongs in the override folder.

The added code for html header is required by facebook and the the editor may not like the php code inthe middle of it.

By the way, the template file is named correctly in the contribution; I was just calling it the wrong thing here in this thread..

28 Oct 2010, 11:30 AM
#80
delia avatar

delia

Totally Zenned

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

Re: Facebook Like Button

Okay, the failure that gives the error

"Error Creating Page There was an internal error when updating the Page."

is a bug. Temporary fix is to exclude one of the required parameters in html_header.php.
Change <meta property="og:type" content="product"/> on line 27 to <!-- <meta property="og:type" content="product"/> -->

This is a bug reported and accepted on Oct 21. No telling when it gets fixed but I should get notified.