简体   繁体   中英

iPhone - Post on Friends wall

hi I am using FBConnect to post on users wall.... But is there a way I can post on friends wall??

Any help is appreciated

Due to many of errors and many of negative comment about Open Graph API in facebook ios 6. facebook remove the " Post to friends wall via the API ". You can only use the fbconnect of ios 5.

 NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                           @"100004925467891", @"to",
                           @"http://pri.com/pit.png", @"picture",
                           @"http://pr.com", @"link",
                           @"Data", @"caption",
                           @"data",@"description",
                           @"Birthday Reminder",@"name",nil];
[[delegate facebook] dialog:@"feed" andParams:params andDelegate:self];

But if u Post to own wall Open Graph API is still working.

我不相信您可以从API张贴到墙上,但是可以发布到他们的Stream

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM