是否有用于从 Graph API 获取已删除 ID 的 API?
在尝试保持应用程序和 Facebook 之间的照片 URL 同步时,我想检测照片是否从相册中删除。是否有任何 API 可以获取最近删除的 ID 之类的内容,或者是遍历集合(在本例中为相册)并将 ID 与存储在我的数据库中的 ID 进行比较的唯一选项?
In attempting to keep photo URLs in sync between my application and Facebook, I'd like to detect if a photo is deleted from an album. Is there any API for getting something like recently deleted IDs, or is the only option to walk the collection (in this case, an album) and compare the IDs to ones stored in my database?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
抱歉,没有用于获取已删除 ID 的 API。正如您提到的,您需要浏览所有照片才能找出哪一张已被删除。
Sorry, there isn't an API for getting deleted IDs. You would, as you mention, need to walk over all the photos to figure out which one has been deleted.