i developing a poster software, when i'm trying to post a link it give the following exception
facebook api exception #100-invalid
here's my code
public static bool post(string accesstoken,string status,string link) {
try
{
FacebookClient fb = new FacebookClient(accesstoken);
Dictionary<string, object> postArgs = new Dictionary<string, object>();
postArgs["message"] = status;
if (link != "") {
postArgs["link"] = link;
MessageBox.Show(link);
}
fb.Post("/me/feed", postArgs);
return true;
}
catch (Exception ex)
{
MessageBox.Show(ex.ToString());
return false;
}
}
}