Problem with integrating FaceBook like button

Asked By 0 points N/A Posted on -
qa-featured

I am having a problem with integrating Facebook like button with my website.

I have added Google +1 button with no problem, and when i try to add Facebook like button its taking space more than two line.

But i want to put it in a single line. Here is the code:


 

SHARE
Best Answer by Sharath Reddy
Answered By 0 points N/A #117265

Problem with integrating FaceBook like button

qa-featured

This code is wrong.

Because it started with a wrong script starting tags which will shows a coding error and never implement.

You cannot implement this code in your website.

Please go to face book Page setting again and get a new "Like Page" code.

You must customize your code as you want as single Line.

But you must keep in mind if you choose to just one line than you cannot show page name in Code.

In one line only "Like" button will be displayed.

 Insert your code in vertical space to make its look better with you existing Google+ button.

Best Answer
Best Answer
Answered By 590495 points N/A #117266

Problem with integrating FaceBook like button

qa-featured

It is hard to follow java script coding especially if you put it in one line.

Here’s what it looks like if you put it in one line:

It is much quite easier to view if it is written in its original alignment but consumes more line.

But it still functions the same even if you make it in one line only.

Just make sure you didn’t make an error while bringing the next line up.

If you accidentally deleted a single character or maybe unsuspectingly added a space or any character, this script will not work.

Related Questions