可以在我们的网络应用程序中使用 Facebook 照片吗?
我想为我的用户提供上传照片或选择 Facebook 上的一张照片(不仅仅是他们的个人资料照片)的功能。
从 Graph API 中提取照片源并不难...但是,Facebook 是否授权我们在我们的应用程序中使用他们的照片链接源,还是我们必须下载照片、将其存储在我们的服务器上并从那里获取它们?
I'd like to offer my users the capability of either uploading a photo, or choosing one of their photos on Facebook (not only their profile photo).
Pulling the photo source from the Graph API isn't hard... However, does Facebook authorize us to use their photo link source in our apps, or must we download the photo, store it on our servers, and source them from there?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最安全的选择当然是自己下载照片并保存;与网络链接一样,我不相信照片链接稍后会有效。
也就是说,您必须处理已删除/删除的照片并在应用程序中清理它们。
The safest bet is certainly to download the photo and save it yourself; as with web links I wouldn't trust that a photo link will be valid later.
That said, you then have to deal with deleted/removed photos and cleaning them up in your application.
我不是律师,但根据他们的开发者政策,这两种方法似乎都很清楚。具体2.2规定:
我唯一关心的是照片的隐私设置以及人们是否能够通过 Facebook 的网址访问它。但是,如果您测试它并且它有效,并且如果用户自己明确选择照片,那么这似乎没问题,并且与他们将其重新上传到您的网站没有太大区别。
I'm not a lawyer but it seems pretty clear either method is fine according to their developer policy. Specifically 2.2 states:
My only concern would be the privacy settings on the photos and whether people would be able to access it via Facebook's url. But if you test it and it works and if the user explicitly selects the photo themselves, that would seem to be fine and wouldn't be much difference then them re-uploading it to your site.