简体   繁体   English

Facebook个人资料图片管理的最佳做法是哪种?

[英]Which is the best practice for facebook profile pictures management?

Today I came across with this doubt and I couldn't find any documentation or recommendations about it. 今天,我遇到了这个疑问,找不到关于它的任何文档或建议。 What do you think/do? 您如何看待/做什么? The user authenticates with facebook to my web, I want to use it's profile picture as the user's profile picture in my app. 用户通过Facebook认证到我的网站,我想将其个人资料图片用作我的应用程序中用户的个人资料图片。 Should I use the "url" or should I be downloading the photo to my server to keep it? 我应该使用“ URL”还是应该将照片下载到服务器上以保留它?

You should never use the CDN URL, Facebook does not guarantee that it will always be valid. 您永远不要使用CDN URL,Facebook不保证它将始终有效。 The best way is to download the image and store it on your server. 最好的方法是下载映像并将其存储在服务器上。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM