开发者

How do I post a story to wall using Graph API in Iphone?

开发者 https://www.devze.com 2023-03-13 06:39 出处:网络
How can I publish a story on the wall of the user?I have already authenticated user using oAuth I am able to publish it on wall.But I want show a dialog开发者_高级运维 before posting asking for user\'

How can I publish a story on the wall of the user?I have already authenticated user using oAuth I am able to publish it on wall.But I want show a dialog开发者_高级运维 before posting asking for user's permission.


The easiest way to simply post to a social networks wall is to use sharekit http://getsharekit.com/

However if you need to post to another users wall you will need to get their facebook id then to post to their Facebook you need to call the feed api with correctly encoded contents

[facebook requestWithGraphPath:@"[friend_ID]/feed" andParams:params andHttpMethod:@"POST" andDelegate:self];

0

精彩评论

暂无评论...
验证码 换一张
取 消