发布在朋友facebook墙上使用Iphone应用程序 [英] posting on friends facebook wall using Iphone application

查看:126
本文介绍了发布在朋友facebook墙上使用Iphone应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想制作一个iPhone应用程序,用户可以通过该应用程序发布在他们的朋友墙上,我知道如何在自己的墙上发布,但不能在朋友墙上张贴。


解决方案

第一次获得朋友获得朋友列表

/ p>

  [_ facebook requestWithGraphPath:@me / friendsandDelegate:self]; 

然后选择朋友并张贴他/她的墙

  [_facebook requestWithGraphPath:@frined_ID / feedandParams:params andHttpMethod:@POSTandDelegate:self]; 


I want to make an iPhone application through which users can post on their friends wall, i know how to post on my own wall but can't post on friends wall.

What do I need to do to get the desired result for Facebook?

解决方案

first time get friend get friend list

[_facebook requestWithGraphPath:@"me/friends" andDelegate:self];

then select friend and post his/her wall

 [_facebook requestWithGraphPath:@"frined_ID/feed" andParams:params andHttpMethod:@"POST" andDelegate:self];

这篇关于发布在朋友facebook墙上使用Iphone应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆