iOS, Facebook app posting only by ME -
am missing something. i'm creating app user able take picture, edit , post facebook. have created app on developers.facebook.com, inserted keys ios app. can login , post image on profile, no problems @ all. says nicely "few minutes ago via --my app--" , works perfectly.
i'm posting using:
nsmutabledictionary* params = [[nsmutabledictionary alloc] init]; [params setobject:message forkey:@"message"]; [params setobject:uiimagepngrepresentation(image) forkey:@"picture"]; //disable button [fbrequestconnection startwithgraphpath:@"me/photos" parameters:params httpmethod:@"post" completionhandler:^(fbrequestconnection *connection, id result, nserror *error) { if (error) { //showing alert failure [self showalert:@"facebook unable share photo " result:result error:error]; } else { //showing alert success [self showalert:@"facebook share photo successful" result:result error:error]; } }];
and said, works me. gave app friend, logged in normally, app asked permission, cool. took picture, clicked post, waited upload , app gave him alert image posted "successfully posted 'facebook share photo successful'. post id: something", image never appeared on wall. far, i'v tested other account (i test more accounts, i'm not sure missing).
what should configured in app settings on facebook can use app? because app details not yet submitted facebook or because didn't set iphone appstore id - because app not on store yet?
//-------------------- edit 1 ---------------------
image there, it's being posted! album being created , says there image inside preview not shown. when user goes album, pictures visible , user being asked approve images. if user approve, images visible , actual wall post being posted. how can override this?
Comments
Post a Comment