create a facebook like button

  • 3
  • Question
  • Updated 7 years ago
  • Answered
hello there i want to add a facebook like button to my website to link to my facebook fan page, i have got the iframe code etc but it says admin page next to it ? is that right?
Photo of justin fantham

justin fantham

  • 301 Posts
  • 1 Reply Like

Posted 7 years ago

  • 3
Photo of Will

Will

  • 224 Posts
  • 4 Reply Likes
What do you mean by admin code? I will show you the link I would use when I get round to integrating my Yola website and Facebook:

<!--

<html>
<head>
<title>My Great Web page</title>
</head>
<body>
<iframe src="http://www.facebook.com/plugins/like...."
scrolling="no" frameborder="0"
style="border:none; width:450px; height:80px"></iframe>
</body>
</html>

-->

This code allows a visitor to like a page on your site. Is this what you need? I can't seem to find the code I used on my original site design on Facebook. Sorry I couldn't be more help.
Photo of justin fantham

justin fantham

  • 301 Posts
  • 1 Reply Like
when i put my facebook url in it comes up with the like button and the people that like it on facebook but next to it it has a link saying admin page ?
Photo of justin fantham

justin fantham

  • 301 Posts
  • 1 Reply Like
and it says insights next to that?
Photo of Emmy

Emmy

  • 5892 Posts
  • 299 Reply Likes
Hello Justin,
Here are some instructions we have for adding a Facebook Like button to your site, hopefully this will help a bit.

1. Go to the Facebook Like Button plugin page.
2. Enter your URL (website address) and select the options to customize your button.
3. Click on "Get code" and copy the code from the iFrame box.
4. On your Yola site, drag-and-drop an HTML Widget from the Sidebar on the right onto your page (the icon for this is a blue sphere).
5. An HTML editor will open up that will allow you to paste your code (use right-click > paste or ctrl-V to paste).
6. When you are done, click "Save" and you will see the Facebook "Like" button on your page.

Kind Regards,
Emmy
Photo of Jo

Jo

  • 15 Posts
  • 0 Reply Likes
Hello,

I have followed the instructions that you gave Emmy to add a Facebook like button on my yola website using the iFrame code, but it does not work.

Please help.

Jodie
Photo of Jo

Jo

  • 15 Posts
  • 0 Reply Likes
Hi Emmy,
I tried to add it to my homepage - http://unitedkingdomufogroup.yolasite... but all I got was a blank box. Its really frustrating and I've tried over and over but it just wont work.
Kind regards,
Jodie
Photo of Laura Thomas

Laura Thomas, Social Media Coordinator

  • 4536 Posts
  • 211 Reply Likes
Hi Jodie,

Please leave the code on the homepage in your Sitebuilder (unpublished is fine) and our HTML team will take a look at it for you.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Jodie,

I am one of the members of the HTML Team. I am unable to see the code on your homepage? Have you removed it? If so, can you please re-add it? I'd like to take a look.
Photo of Jo

Jo

  • 15 Posts
  • 0 Reply Likes
Hi Sanja,

I have now placed the code on my homepage so you should be able to see it now.

Thanks,

Jodie
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Jodie,

I see the Facebook plugin at the top of the page. I've attached a screenshot. Is this what you're referring to?



If not, I still do not see any other facebook codes on your page. Perhaps it would be easier to put the code on the forum. Please be sure to use <!--your code goes in here-->
Photo of Jo

Jo

  • 15 Posts
  • 0 Reply Likes
Hi Again,

I guess that is what it should look like, only its showing as an empty box/space. I have just changed the code as I did not want a preview or pictures of who likes, so it should now just be a facebook like button but its still showing as blank?
Here is the code I copied from facebook -

Maybe I am doing something wrong?

Thanks,
Jodie
Photo of Jo

Jo

  • 15 Posts
  • 0 Reply Likes
Argghhh, just tried to post the code here but it wont allow.
Photo of Sanja

Sanja, Official Rep

  • 10698 Posts
  • 495 Reply Likes
Hello Jodie,

The reason why the code is not showing up is because you need to surround it with <!-- and -->.

I took another look in your site and see that the Facebook Like button is working. I've attached a screenshot of this. Please let me know if you see something different.

Photo of Jo

Jo

  • 15 Posts
  • 0 Reply Likes
Hello again,

Thankyou for your patience firstly :) Here is the code <!--<iframe src="http://www.facebook.com/plugins/like...." scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe-->

I have done as you suggested but its still showing a blank box, really not sure what to do now?

Regards,

Jodie