I am having a post id, and i want to comment on that post using c#. I am using the Facebook SDK 6.4.2. Now while using the graph explorer i am able to comment like
postid/comments?message=Commented using graph api explorer"
In c# I am doing as below
var client = new FacebookClient(accesstoken);
var parameters = new Dictionary<string, object>
{
{ "message", "hi! this is my status message" },
{ "place",postid}
};
client.Post("me/feed", parameters);
It is showing the error:(OAuthException - #1) An unknown error has occurred.
var client. That's why you get the OAuth exception. Is it an ASP.Net application> - glautrou