I use OWIN in mvc5 to authenticate users, but I want to show their profile photos. I searched strackoverflow and found the following way to do this.
This is for Facebook and Google Plus:
https://plus.google.com/s2/photos/profile/[USERID]? sz = 100
http://graph.facebook.com/[USERID.BIZ/picture? type = square
Is this the best way to get images? Should we store images on our server and upload locally, or do we call these links every time someone logs in? I need the right approach, for example. If we store them locally, they will not be updated if the user changes their profile picture to facebook, but if we upload them every time from facebook, then it will take some time to download to redirect 302 to the actual image URL.
source
share