This Forum has been archived there is no more new posts or threads ... use this link to report any abusive content
==> Report abusive content in this page <==
Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to add a Facebook "Like" button on my GoDaddy Website Tonight websites.?
04-13-2014, 06:27 AM
Post: #1
Unable to add a Facebook "Like" button on my GoDaddy Website Tonight websites.?
GoDaddy support says that it is possible, but that they cannot tell me how to do it. I've spent a lot of time putting together 3 websites, and this is holding me back from being able to get more traffic to them.
I've found that, and it looks like it would work. But nothing I have tried with that on my webpage actually works. I'm looking for an explanation of how to use it.

Ads

Find all posts by this user
Quote this message in a reply
04-13-2014, 06:38 AM
Post: #2
 
here are the instructions

https://developers.facebook.com/docs/ref...gins/like/

Ads

Find all posts by this user
Quote this message in a reply
04-13-2014, 06:50 AM
Post: #3
 
Hi There,

After going to this link https://developers.facebook.com/docs/ref...gins/like/

Plug in your domain name to see the HTML5 code:

It should look something like this:

1. Include the JavaScript SDK on your page once, ideally right after the opening <body> tag.
This script uses the app ID of your app

<script type="text/javascript">(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//connect.facebook.net/en_US/all.js#xfbml=1&appId=1156164";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>

Above I removed the div tag at the beginning and added type="text/javascript".

- Copy the code output from facebook and make the changes noted above. Then Open your Website Tonight and hover over the properties option for the page you wish to add the like button. Select JavaScript. Enter the copied code with the alterations to the second box titled "JavaScript placed before </body>"

Click Apply/Ok and go back to the page you are working on.

Next copy the second code from Faceboook as shown below.


2. Place the code for your plugin wherever you want the plugin to appear on your page.

<div class="fb-like" data-href="http://yourdomain.com" data-send="true" data-width="450" data-show-faces="true"></div>

Go Back to your Website Tonight and choose the content block you want to add the like button to. Once it is editable, select HTML at the lower left. Paste in the code, then save the content block.

Now save your page and voila! You should have a working FB like button.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)