Tried to add facebook like button. Didn't get it to work. Help!


I’m a proper amateur when it comes to this stuff, but I have created a website on a free web editor called I downloaded this site I made as a zip-file in order to host it elsewhere. Some problems have occurred as a results of this, but I have so far managed to repair these.

However I have now tried to add a facebook like-button to this site. I followed the explanation here:

This worked properly in the weebly editor. This is how it appeared there:

But this does not work after downloading the site as a zip. Here is how it appear afterwards:

And the code (after downloading):

<div><div id="784807402536720860" align="center" style="width: 100%; overflow-y: hidden;" class="wcustomhtml"><iframe src="//;send=false&amp;layout=standard&amp;width=450&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=35" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:35px;" allowTransparency="true"></iframe>></div>

Here is also a screen shot taken of the code:

Any got an idea about what’s wrong here?


PS: Hope this is the right forum to put it in.

Hi hespo. Welcome to the forums. :slight_smile:

Try replacing the <iframe> … </iframe> section of code with this:

<iframe src=";layout=standard&amp;show_faces=false&amp;action=like&amp;colorscheme=light"
        scrolling="no" frameborder="0"
        style="border:none; height:35px; width: 450px;">

If that doesn’t work, we might need to see you full page code.

Thanks for the welcome.

It did work in that sense as a facebook-like button appeared, but this button is blank and not specific for my site.

Here is a screen shot:

What part of your code must a change in order to get it to point towards my own facebook-page?

Thanks for all help so far! :slight_smile:

I worked it out myself. Thanks for all help ralph.m! :slight_smile:

Glad you worked it out. :slight_smile: Sorry my code wasn’t specific enough. I’ve used it before, but will have to check what I did to make it site-specific.