I'm use sdk Facebook for windows phone(http://facebooksdk.net/),and I want share status on facebook.I have code as below :
var facebookClient = new Facebook.FacebookClient(fbAccessToken);
var postParams = new
{
message = message,
name = name,
caption = caption,
link = link,
picture = urlImg
};
try
{
dynamic fbPostTaskResult = await facebookClient.PostTaskAsync("/me/feed", postParams);
var result = (IDictionary<string, object>)fbPostTaskResult;
flag = true;
}
catch (Exception ex)
{
flag = false;
}
Before a few day,It run normaly and have no problem.But now when I run my app,I get error "(OAuthException - #200) (#200) The user hasn't authorized the application to perform this action".