User profile pictures with facebook identity

Hi there!

I noticed that when a user logs in by facebook connection the picture stored in the auth0 will expire, unfortunately i don’t know how much time it takes before expiring.

There is a good solution for it? I have seen here that i can get the image by this API https://graph.facebook.com/v5/:userId/picture?width=:width it is correct or there are some problem with this?

Thanks.

1 Like

Hello!

The expiration time of the picture stored in Auth0 is 30 days. This is a value that is set by Facebook and Auth0 has no control over it.

Depending on your implementation, you will be able to use a solution that is adequate for you to refresh the profile picture.

Thanks.