有没有办法更新照片及其消息?
我正在开发一个 iOS 应用程序,可以在 Facebook 上上传一些照片。
我想在我的应用程序中更新数据时更新我之前上传的照片及其相关消息。关于 Facebook Graph API 文档,我认为没有权限这样做,我错了吗?
I'm developing an iOS App which uploads some photos on Facebook.
I'd like to update the photo I uploaded earlier and also its associated message when data is updated in my app. Regarding the Facebook Graph API documentation, I believe there is no permission to do that, am I wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不确定我完全理解你的问题,但这就是我收集到的。
有一个权限允许您管理照片(“user_photos”),该权限列在 Facebook 的权限参考下。
我猜你想知道是否有什么东西可以让你更新照片。据我所知,答案是否定的。但是,您可以轻松地删除该对象,然后只需重新上传该对象,我认为您已经实现了该对象。
在 Graph API 中,每张照片都是一个对象,其所在位置有一个 url,因此如果您向该 url 发送“DELETE”post 请求,您将能够删除该照片。
它在 http://developers.facebook.com/docs/reference/api/ 在“删除”下。
I'm not sure I completely understand your question, but here's what I gather.
There is a permission that allows you to manage photos, ("user_photos"), which is listed under facebook's permissions reference.
I gather you want to know if there's something that would allow you to update a photo. To my knowledge the answer is no. However, you can easily delete the object instead, and then simply reupload the object, which I gather you've already implemented.
In the Graph API, every photo is an object with a url where it resides, so if you send a 'DELETE' post request to the url, you will be able to delete the photo.
It's described in http://developers.facebook.com/docs/reference/api/ under "Deleting".