javascript - #200 Permissions error when posting comment -
i'm trying post comment public post of user using facebook graph api ( 2.4 ).
i use publish_actions scope follows:
fb.login( function( r ){} , { scope : 'publish_actions', return_scopes : true } );
knowing variable r.status
login works fine, permissions given properly.
however, when try post comment,
fb.api( "/755555337836854_906307019428351/comments", "post", { message: "foo" }, function( r ){});
it gives me error ( know variable r
) indicating permission error.
code: 200 , message: "(#200) permissions error"
where fail?
if permission authorized correctly, not allowed post graph id api (755555337836854_906307019428351). assume post of friend, , can´t post wall of friends - , not wall of non-friends if post public.
it major spam problem if allowed, because without login review create simple spam app yourself.
Comments
Post a Comment