Facebook - Use the following method to feed a post on facebook using FacebookClient api in C#
public bool PostOnWall(IDictionary<string, object> Parameters,string AccessToken)
{
if (Parameters.Keys.Count > 0)
try
{
FacebookClient fbClient = new FacebookClient(AccessToken);
fbClient.Post("/me/feed", Parameters);
return true;
}
catch { }
return false;
}
public bool PostOnWall(IDictionary<string, object> Parameters,string AccessToken)
{
if (Parameters.Keys.Count > 0)
try
{
FacebookClient fbClient = new FacebookClient(AccessToken);
fbClient.Post("/me/feed", Parameters);
return true;
}
catch { }
return false;
}
Comments
Post a Comment