PHFacebook框架:如何向facebook写东西?
在寻找与 OSX 兼容的 Cocoa Facebook 框架时,我发现了 PHFacebook。
http://developer.casgrain.com/?p=107
非常好而且效果很好但示例应用程序只能从 Facebook 读取。有人可以向我解释一下如何使用 PHFacebook 向 facebook 写东西吗?在开发者主页上,有人问了同样的问题,开发者回答:
“我确信这是可能的,我只是从未尝试过。您是否在请求中添加了“write”属性?也许这就是您所缺少的。示例应用程序只有“读”。”
但我在代码中找不到任何“读取”属性。有人可以给我提示吗?
太感谢了!
崩溃队长
while looking for a Cocoa Facebook Framework that works with OSX I found PHFacebook.
http://developer.casgrain.com/?p=107
It's really nice and works well but the sample app is only able to read from Facebook. Can someone please explain to me how I can write something to facebook using PHFacebook? On the Developers homepage someone asked the same Question and the developer answered:
"I’m sure it’s possible, I just never tried. Did you add the “write” property to the request? Maybe that’s all you’re missing. The sample app only has “read”."
But I can't find any "read" property in the code. Can someone please give me a hint?
Thank you so much!
CaptnCrash
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
当我尝试将图像上传到 facebook 时,我遇到了同样的问题,然后,我使用 phfacebook 获取 access_token,然后使用 ASIhttprequest 上传图片。
您可以在以下位置查看详细信息
Facebook Graph API 将本地图像上传到 Wall (Objective-C )
I had the same problem when I tried to upload the image to facebook, then, I used the phfacebook to get the access_token, and then used the ASIhttprequest to upload the image.
You can see the detail at
Facebook Graph API Upload Local Image to Wall (Objective-C)