but the thing is that most of the coding is done by Facebook itself and added automatically
all you need to do is register your site in Facebook and add some lite html and JavaScript.
Let's focus first on register your site to Facebook so it could know how is responsible for the site
Go to Facebooke developrers (you must have a Facebook account to this)
Click on the website(www) icon
In the text box write your application name, my was "My new site site"
and click the "Create New Facebook App ID" button below
set the " Is this a test version of another app?" to no
and choose the appropriate category to your site (my is Education)
click on the blue "Create new App ID" button
Below the "Setup the Facebook SDK" title there is a JavaScript
save the appId attribute marked with the black box
in this example it is: 570863483056525
my is http://danyt.azurewebsites.net
click the "Next" button and you are done on this site
To find out more on the app you just build go to developed apps
personally I haven't found anything useful there but if you do you can tell me on the comments bellow
To get the anchor tag that generates the comments where you want, go to Comments plugin
Type the name of your website in the "URL to comment on"
my is: http://danyt.azurewebsites.net/ and click the Get code button
From the pop up window you need the div tag that you will place on your site
Place the div tag on your cshtml file , preferably on the end of the page
Add a new script to your site , my script called FacebookScrips.js
the script is the Scripts folder in the root project
paste this javaScript to your script
Don’t forget to type your app id that you remembered from section 5 here
Add the script to the BundleConfig.cs in the App_Start forlder
This style sheet will help you make the comments responsive to page resize
Add a style sheet called FaceboolFix.css to the Content forlder
This style sheet will help you make the comments responsive to page resize
Add a style sheet called FaceboolFix.css to the Content forlder
This style sheet will help you make the comments responsive to page resize
the first list is needed just to contain extra information code for the app
the second line is for the style sheet to be added
add this line to add the script file
Go the here to get the div tag to add to your site (like the comment)
add this lines to _Lyout.cshtml (after the head tag) to display the wnted information when a you click the like button
fill your information like the app id your got before
and that’s it now you are ready to get to site socializing with the world