Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Facebook 'Like' button
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

siemens
Master

Netherlands
139 Posts

Posted - 01 Feb 2012 :  11:00:47  Show Profile  Visit siemens's Homepage  Reply with Quote
I try to add a Facebook button on a DHTML website according to http://developers.facebook.com/docs/reference/plugins/like/
It is not working, is this related due to te fact that it is only possible via html5??

T00N
Super User

573 Posts

Posted - 01 Feb 2012 :  11:45:40  Show Profile  Visit T00N's Homepage  Reply with Quote
Strange, I tried it last week and it worked perfectly.

Did you copy paste the code into a html box?
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 02 Feb 2012 :  08:57:28  Show Profile  Visit s.dav's Homepage  Reply with Quote
Check in the Javascript tool, there should already be a button for facebook link.

Regards, Davide
Go to Top of Page

siemens
Master

Netherlands
139 Posts

Posted - 02 Feb 2012 :  11:55:20  Show Profile  Visit siemens's Homepage  Reply with Quote
@Toon, i did. Question: do you have an working example of this?

@Davide, i did see the javascript but it opens in the parent, not in a new window.I also want some text added to it, see here an example: http://www.nepaltrekking.nl/nepal-vind-ik-leuk.html
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 03 Feb 2012 :  08:38:50  Show Profile  Visit s.dav's Homepage  Reply with Quote
Are you talking about the button on the top (which is a simple link) or the small facebook button on the bottom of the page?

Regards, Davide
Go to Top of Page

siemens
Master

Netherlands
139 Posts

Posted - 05 Feb 2012 :  14:18:48  Show Profile  Visit siemens's Homepage  Reply with Quote
Ojee, sorry there are two.., I mean small facebook button on the bottom of the page including my name and 12 others...
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 07 Feb 2012 :  10:11:51  Show Profile  Visit s.dav's Homepage  Reply with Quote
There is an extension for this, check "AddToAny" and "AddThis" extensions

Regards, Davide
Go to Top of Page

siemens
Master

Netherlands
139 Posts

Posted - 09 Feb 2012 :  23:19:56  Show Profile  Visit siemens's Homepage  Reply with Quote
I know these 2 extensions, they don't work for me, i want http://developers.facebook.com/docs/reference/plugins/like/
Go to Top of Page

siemens
Master

Netherlands
139 Posts

Posted - 28 Feb 2012 :  10:32:35  Show Profile  Visit siemens's Homepage  Reply with Quote
No comments so far, still not working, anybody else? Davide, it looks like this programming http://developers.facebook.com/docs/reference/plugins/like/ is only possible in html5?? Can you explain maybe?
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 01 Mar 2012 :  17:54:40  Show Profile  Visit s.dav's Homepage  Reply with Quote
Siemens, sorry for the delay, I've a flu so I cannot help you until the next week :-(
I'll create the extension when I'll get better...

Regards, Davide
Go to Top of Page

siemens
Master

Netherlands
139 Posts

Posted - 02 Mar 2012 :  10:48:16  Show Profile  Visit siemens's Homepage  Reply with Quote
Ok, relax and recover...thanx
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 12 Mar 2012 :  09:35:16  Show Profile  Visit s.dav's Homepage  Reply with Quote
siemens,

I checked that page and it seems better that you use that page to create the code instead of an extension that will do the same.
The Steps are very simple:
1- put the link in the "Link to Like" field
2- choose options
3- Press the "Get Code" button
4- the code has been splitted into 2 parts so:
4a- put a HTML box in the page and paste into it the first parts of code; for this box choose "Position=No Positioning"
4b- put the second part of the code into another HTML box and put it where you want the button

:-)

Regards, Davide
Go to Top of Page

siemens
Master

Netherlands
139 Posts

Posted - 13 Mar 2012 :  11:20:25  Show Profile  Visit siemens's Homepage  Reply with Quote
Sorry Davide, your advice is not working?
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 13 Mar 2012 :  19:28:54  Show Profile  Visit s.dav's Homepage  Reply with Quote
Send me a private email and I'll prepare you a sample...

Regards, Davide
Go to Top of Page

siemens
Master

Netherlands
139 Posts

Posted - 14 Mar 2012 :  08:45:01  Show Profile  Visit siemens's Homepage  Reply with Quote
Ok, I will do that..
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 14 Mar 2012 :  11:02:22  Show Profile  Visit s.dav's Homepage  Reply with Quote
siemens,

I tried following the FB guide but the button seems not to work also here :-(

Regards, Davide
Go to Top of Page

siemens
Master

Netherlands
139 Posts

Posted - 14 Mar 2012 :  11:36:55  Show Profile  Visit siemens's Homepage  Reply with Quote
Ok, as you can see the FB code is specific for html5. could that be the problem?
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 16 Mar 2012 :  13:40:36  Show Profile  Visit s.dav's Homepage  Reply with Quote
why do you say that the code is HTML5? The code is standard HTML + Javascript code; not necessary HTML5.

Regards, Davide
Go to Top of Page

siemens
Master

Netherlands
139 Posts

Posted - 20 Mar 2012 :  10:59:50  Show Profile  Visit siemens's Homepage  Reply with Quote
Ok, what I mean is that when you generate the code you can see 3 buttons on top, HTML5, XFBML en IFRAME, I think i must use the html5 code (2 blocks) but as we both found out, this is not working in DHE.
Any other suggestions??
Go to Top of Page

s.dav
Site Admin

Italy
3364 Posts

Posted - 20 Mar 2012 :  21:04:56  Show Profile  Visit s.dav's Homepage  Reply with Quote
siemens,

I tried without DHE but it is not working...

Regards, Davide
Go to Top of Page

rmckeown
Novice

7 Posts

Posted - 11 Jan 2014 :  09:19:24  Show Profile  Visit rmckeown's Homepage  Reply with Quote
Hi
I tried this but could not get it to work. I think the problem is 4(b) since I do not end up with a hotspot or button to run that html code.
Help!
Complete newby (sorry)
quote:
Originally posted by s.dav

siemens,

I checked that page and it seems better that you use that page to create the code instead of an extension that will do the same.
The Steps are very simple:
1- put the link in the "Link to Like" field
2- choose options
3- Press the "Get Code" button
4- the code has been splitted into 2 parts so:
4a- put a HTML box in the page and paste into it the first parts of code; for this box choose "Position=No Positioning"
4b- put the second part of the code into another HTML box and put it where you want the button

:-)


Go to Top of Page

rmckeown
Novice

7 Posts

Posted - 05 Apr 2014 :  12:47:19  Show Profile  Visit rmckeown's Homepage  Reply with Quote
Hi All

I logged this query approx 3 months ago, but no responses as yet.

Can anyone provide a simple step by step description of how to add a facebook like button?

It would be greatly appreciated.

Regards

Roy
Go to Top of Page

WebSupport101
Practical

USA
17 Posts

Posted - 09 Apr 2014 :  06:07:22  Show Profile  Reply with Quote
use this code in a html box positioned on the page where you want it to appear ..

<iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2FPUTTHEFBACCOUNTNAMEHERE&send=false&layout=button_count&width=80&show_faces=true&action=like&colorscheme=light&font&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:80px; height:21px;"></iframe>

where this is in the code PUTTHEFBACCOUNTNAMEHERE put your exact facebook account (url) name this is often where the problems occur as it appears to require pure code for the items surrounding your name just as they appear above so be careful to insert just the name part and leave the other in place ... I have done this several times now with this code and get a small like button with current total of likes to the right of that and linked to the correct FB account

hope this helps
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000