Click here to Skip to main content
16,014,650 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Dear all,
i want to show a comment in face book of my profile wall from my web site text box which i enter
Posted
Updated 2-Jun-14 19:50pm
v2
Comments
Thanks7872 3-Jun-14 1:11am    
Do you have access to google.com ? If yes then see this : post comment to facebook from asp.net

Hi,

I would suggest you try to consider the facebook API.

https://github.com/facebook/csharp-sdk[^]

Also the below url will helps you a lot:

http://stackoverflow.com/questions/5597501/post-comment-to-facebook-wall-using-asp-net[^]

Hope this helps!

- S Francis
My Blog
 
Share this answer
 
First of all goto developers.faceboo.com -> apps -> create new app -> give ur app name and save it.Then go to settings and extract add platform and paste ur url.(for url read below)

now copy url except page name ex: localhost:5316/webpage/cs.aspx now copy localhost:5316/webpage only in add platform and click on save changes.
now copy this this scripts and div in your web page and enjoy it by running.


(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/sdk.js#xfbml=1&appId='ur app id'&version=v2.0";
fjs.parentNode.insertBefore(js, fjs);
} (document, 'script', 'facebook-jssdk'));




FB.init({
appId : 'ur app id',
status : true,
xfbml : true,
version : 'v2.0',
});



data-colorscheme="light">
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900