I am using the latest version of iOS for Android iOS 3.1.1 trying to post UIImage to my friends wall, I get error 5 (Error: HTTP status code: 403).
If I try to post an image on my wall, this works well, but not one of my friends.
My code: 1. before publishing, I check if the user has access rights when I do
-(void)postImageOnFriendsWall:(UIImage*)image FriendsArray:(NSArray*)friends {
mention if i changed
startWithGraphPath:[NSString stringWithFormat:@"%@/photos",userID]
to
startWithGraphPath:[NSString stringWithFormat:@"me/photos",userID]
works fine.
what am I doing wrong? I tried to find the answers, but nothing helped. Thank!
post ios objective-c iphone facebook
user1526725 Dec 11 2018-12-12T00: 00Z
source share