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
why isnt my facebook business like button clickable?
04-09-2014, 07:33 PM
Post: #1
why isnt my facebook business like button clickable?
i added the ifame to my website and the actual button appears. however, the button is not able to be clicked thus rendering it useless. i directly copied the code from facebook and pasted it into my html code for cpanel... any help is appreciated
<iframe style="width: 200px; height: 35px; overflow: hidden; border: medium none" frameborder="0" allowTransparency scrolling="no" src="http://www.facebook.com/plugins/like.php?app_id=145501235535902&href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FLakeland-Moving-and-Storage%2F106781152742689&send=false&layout=standard&width=200&show_faces=false&action=like&colorscheme=light&font&height=35"></iframe>

this is what facebook gave me. as for everything else you just said i have no earthly clue. i know bits and pieces of websites lol.
yes it is an html/css site but i have no idea how to specify a doctype
yes it is an html/css site but i have no idea how to specify a doctype
<iframe style="width: 200px; height: 35px; overflow: hidden; border: medium none" frameborder="0" allowTransparency scrolling="no" src="http://www.facebook.com/plugins/like.php?app_id=145501235535902&href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FLakeland-Moving-and-Storage%2F106781152742689&send=false&layout=standard&width=200&show_faces=false&action=like&colorscheme=light&font&height=35"></iframe>

btw new to yahoo answers and it wont let me post the whole piece of code it keeps adding the ... after a few words, help with that would be nice too lol (def a newb Tongue)
<iframe style="width: 200px; height: 35px; overflow: hidden; border: medium none" frameborder="0" allowTransparency scrolling="no" src="http://www.facebook.com/plugins/like .php?app_id=145501235535902& href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FLakeland- Moving-and-Storage%2F106781152742689& amp;send=false&layout=standard&width=200&show_faces =false& action=like&colorscheme= light&font&height=35"></iframe>

<iframe style="width: 200px; he ight: 35px; overflow: hidden; border: medium none" frameborder="0" allowTr ansparency scrolling="no" src=" http://www.facebook.com/plugins/l ike .php?app_id=14 5501235535902& hre f=http%3A%2F%2Fw ww.facebook.c om%2Fpages%2FLakeland- Moving-and-St orage%2F 106781152742689& amp;se nd=false&layou t=standard&width=200& amp;show_faces =false& action=like& amp;colorscheme= light&font&a mp;height=35"></iframe>

i appreciate the help. so where you put remove this (obviously) remove that and a delete the space on each side?

Ads

Find all posts by this user
Quote this message in a reply
04-09-2014, 07:49 PM
Post: #2
 
Can you supply the exact code snippet you are using? There might be something wrong with the URL you supply in the facebook like link.

Is the document in which this button is placed a HTML file? And have you properly declared the !DOCTYPE at the very top?

EDIT: You can probably show me the entire thing if you put a few spaces in there inside links. It cuts off long links, as you can see Tongue

Sorry for the late reply here. This is the code that I get from the facebook developer page to add a clickable like button. Note the "yoururlhere.com" that you are to replace with the full URL of the page you want the like button to like Smile
Also, added a lot of text that you need to remove, just to break any URL that might be cut short by yahoo answers. Remove one space on each side of every [remove this] tag aswell. Sorry this has to be done in such a complicated way, damn yahoo answers Big Grin

<div id="fb-root"></div><script src="http://connect [remove this] .facebook.net/en_US/all.js#appId= [remove this] 251200648237036 [remove this] &xfbml=1"></script> [remove this] <fb:like href="yoururlhere.com" [remove this] send="false" width="450" show_faces="true" [remove this] action="like" font=""></fb:like>

Hope this helps! If you have any further issues, feel free to contact me on this website, or on rasmusrygg@hotmail.com for more in-depth assistance with your web page Smile

Haaang on, just noticed that you were trying to add the iframe, lol. Give me a few minutes to look into this Tongue

RIGHTO, sorry for the looon and messy reply. I've compiled this code in a html document, and it works just fine now. There were a few details missing (like the characters "amp;" in one place and a double quote in another.) Try this out, will do the exact same thing with the removable text bits on this one.

<iframe style="width: 200px; height: 35px; overflow: hidden; border: "medium none" frameborder="0" allowTransparency scrolling="no" src="http://www.facebook.com [remove this] /plugins/like.php?app_id=145501235535902& [remove this] amp;href=http%3A%2F%2Fwww.facebook [remove this] .com%2Fpages%2FLakeland [remove this] -Moving-and-Storage% [remove this] 2F106781152742689&send [remove this] =false& layout=standard&width=200&show_faces=false& action=like& amp;col [remove this] orscheme=light&font& amp;height=35"></iframe>

There we go. Try that one out. If it doesn't work properly, you either forgot to remove a space, removed too much, or the HTML document that you are editing is not declared properly.

PS. this ended up with me liking your page to check if the button was clickable, I think I deserve the 10 points for that even if this solution doesn't work Big Grin

Ads

Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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