How to add Like button of a facebook page on asp.net website

By -

//Just cut -past the following code..

 

<TABLE style=”border-color: rgb(198, 204, 214);” border=”1″ cellspacing=”5″ cellpadding=”5″>
<TR>
<TD width=”295″ height=”20″ style=”text-align: center; color: rgb(0, 0, 0); background-color: rgb(198, 204, 214);”>
<B> Like Us on Facebook </TD>
</TR>
<TR>
<TD width=”295″ height=”160″>
<STYLE type=”text/css”>
.facebookOuter {
background-color:#ffffff;
width:380px;
padding:0px 0px 0px 0px;
height:285px;
border:0px solid #CCCCCC;
}
.facebookInner {
height:150px;
overflow:hidden;
padding:0px 0 0px 0px;
}

.auto-style1
{
text-decoration: underline;
}

.twitter-like-box
{
height: 17px;
width: 380px;
}
#DIV1
{
width: 379px;
}

</STYLE>
<DIV class=”facebookOuter”>
<DIV class=”facebookInner”>
<DIV class=”fb-like-box” data-width=”295″ data-href=”https://www.facebook.com/247review” data-header=”false” data-stream=”false” data-show-border=”false” data-show-faces=”true” data-border-color=”#F4F4F4″ data-height=”284″>
</DIV>
</DIV>
</DIV>
<DIV id=”fb-root” style=”width: 378px; height: 5px;”>
</DIV>
<SCRIPT>(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”;
fjs.parentNode.insertBefore(js, fjs);
}(document, ‘script’, ‘facebook-jssdk’));

</SCRIPT>
</TD>
</TR>

</TBODY>
</TABLE>

 

//change https://www.facebook.com/247review by your facebook page link

The Processor to set a facebook page according to you page name is given below

Step 1: Open your facebook page account.

Step 2: Click Setting which is on left side just above to cover page.

Step 3: Click on Page Info which is second from top on left side.

Step 4: Now Edit Facebook Web Address on right side according to your page name as:

https://www.facebook.com/247review

// So guys if you still have any problem than comment on this blog. Ok bye happy coding…. 🙂

WE LOVE FEEDBACK! AND DON'T FORGET TO SUBSCRIBE TO OUR NEWSLETTER :)

1 Comment to How to add Like button of a facebook page on asp.net website

  1. maryland national mortgage corporation

    It’s amazing in favor of me to have a web page, which is
    valuable for my knowledge. thanks admin

Leave a Reply

Your email address will not be published. Required fields are marked *