简体   繁体   English

iPhone-在朋友墙上张贴

[英]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?? 嗨,我正在使用FBConnect在用户墙上发布...。但是有什么方法可以在朋友墙上发布?

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 ". 由于iOS iOS 6中存在许多关于Open Graph API的错误和负面评论,facebook删除了“通过API发布到朋友墙”。 You can only use the fbconnect of ios 5. 您只能使用ios 5的fbconnect。

 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. 但是,如果您发布到自己的墙上,Open Graph API仍在工作。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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