I have followed this link to post on friends wall in facebook :
Here is my code :
FBRequest *request = [FBRequest requestWithGraphPath:@"FRIEND_ID/feed" parameters:[NSMutableDictionary dictionaryWithObject:@"Post on wall" forKey:@"message"] HTTPMethod:@"POST"];
[request startWithCompletionHandler:^(FBRequestConnection *connection,id result, NSError *error){
NSLog(@" result : %@",result);
}];
I have following permissions from the user :
(
"create_note",
"basic_info",
"share_item",
"status_update",
"user_photos",
"publish_actions",
"user_friends",
"publish_checkins",
"video_upload",
"publish_stream",
"photo_upload",
installed,
email,
"public_profile",
"user_birthday",
"user_location",
"friends_birthday",
"friends_photos"
)
but getting error message as follow :
Error Domain=com.facebook.sdk Code=5 "The operation couldn’t be completed. (com.facebook.sdk error 5.)" UserInfo=0xa52d700 {com.facebook.sdk:HTTPStatusCode=403, com.facebook.sdk:ParsedJSONResponseKey={
body = {
error = {
code = 200;
message = "(#200) Feed story publishing to other users is disabled for this application";
type = OAuthException;
};
};
code = 403;
}
please let me know where am I mistaking ?