I made a posting scores. It worked normaly sometimes. But, now I cant post any score.
If I use user accessToken:
string path = meID + "/scores";
var parameters = new Dictionary<string, object> (){
{ "score", score.ToString () },
{ "access_token", accessToken }
};
facebook.post (path, parameters, ( error, obj ) =>
I get error:
{"error":{"message":"(#15) This method must be called with an app access_token.",
"type":"OAuthException", "code":15}}
If I use an app access token:
string path = meID + "/scores";
var parameters = new Dictionary<string, object> () {
{ "score", score.ToString () },
{ "access_token", appAccessToken }
};
facebook.post (path, parameters, ( error, obj ) =>
I get other error:
{"error":{"message":"A user access token is required to request this resource.",
"type":"OAuthException", "code":102}}
Help me please, what am i doing wrong?
PS: I worked well recently, but now - dont. Cant explain it...