Monday, June 16, 2014

How to add a FB Like box in your ASP.NET project


Here in this article I will show you how to add a Facebook like box in your asp.net project. All you need a Facebook page and a ASP project.

First create a Facebook page and go to bellow line.

https://developers.facebook.com/docs/plugins/like-box-for-pages/

In the Facebook page URL place the URL of your page. Choose theme, height, width and all others thing. Every changes you do that will reflects in your output bellow.

Now click on the "Get Code" button and choose the app first. It will enlisted with the app that you have created. Choose one one of them, and if you does not have the app then create one.

To create a app go to app dashboard. And copy the App Id and App Secret key, add name, email and other details and click on save on the setting.

On the HTML5 tab copy the both codes and place it in your asp.net project.
Don't forget to change the js.src to add "http:". Now your page is ready to display Facebook like box.

Enjoy your Facebook like box... :)


1 comment:

Popular Posts

Pageviews