Sunday, 23 September 2012

iOS Facebook cannot post on another user's wall


i trying make post on user's wall using user using fbconnect. using embedded method of ios facebook api (that is, forcing browser appear inside app, not leaving application @ all). method works posting wall of same user, doesn't work on wall of user.

code:
    self.facebook = [[[facebook alloc] initwithappid:self.appid anddelegate:self] autorelease]; if ([self.facebook issessionvalid]) {     [self proceedtopost]; }else{     [self.facebook authorize:nil]; }  - (void)proceedtopost {  nsmutabledictionary* params = [nsmutabledictionary dictionarywithobjectsandkeys: @"myname", @"name",                                self.appid, @"app_id",                                self.title, @"caption",                                self.link, @"link",                                @"animateurl", @"picture",                                nil]; [params setobject:"my-user-profile-id" forkey:@"to"]; [self.facebook dialog:@"feed" andparams:params anddelegate:self]; } 
the problem authorization done expected, when trying post, see error message in embedded browser "cannot post user's wall".

can me this?
 

fb doesn't support this.
 


Forums iPhone, iPad, and iPod Touch iOS Programming


  • iPhone
  • Mac OS & System Software
  • iPad
  • Apple Watch
  • Notebooks
  • iTunes
  • Apple ID
  • iCloud
  • Desktop Computers
  • Apple Music
  • Professional Applications
  • iPod
  • iWork
  • Apple TV
  • iLife
  • Wireless

No comments:

Post a Comment