I'm trying to reply to a comment on wall/timeline. If i check the permissions withs i have with https://graph.facebook.com/me/permissions?access_token=ACCESS_TOKEN (example) i get this returned:
{
"data": [
{
"installed": 1,
"read_stream": 1,
"status_update": 1,
"photo_upload": 1,
"video_upload": 1,
"email": 1,
"create_note": 1,
"share_item": 1,
"publish_stream": 1,
"publish_actions": 1
}
]
}
Which says i have publish_stream/actions - If i read the docs correctly then thats all i need? I can post new comments on a wall but not reply.
The exception i get is "(OAuthException) (#200) Requires publish_stream permission or Requires extended permission: publish_actions"
Do I need something else to allow me to reply to a post, it says i need the permissions i already have.
Thanks
EDIT:
Facebook SDK C#
public bool ReplyToPost(string objId, string message)
{
FacebookClient client = new FacebookClient(GetAccessToken());
IDictionary<string, object> param = new Dictionary<string, object>();
param.Add(new KeyValuePair<string, object>("message", message));
//744590031_10151761424915032 -- Test Obj.
dynamic r = client.Post(string.Format("{0}/comments", objId), param);
return true;
}
I understand that once my app has been given permissions it should always have them?
In your code, are you posting the objId
as 744590031_10151761424915032
?
Try calling the app with only the last part of the objId, e.g. /10151761424915032/comments
and see if it works then.