URL signature expired` error when I'm fetching photo URL.
My application flow is
1. auth with facebook whenever user open the app (if already logged in)
2. get the user info such as email, photo url.
3. show profile picture with photo url.
But, now it looks like FirebaseUser.getPhotoUrl() or FirebaseUser.getProviderData().get(0).getPhotoUrl() didn't give me the latest photo url.
How can I get latest photo url whenever user auth?
Thank in advance.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-talk+unsubscribe@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/cdf064de-e993-4f02-bca0-f87445961e06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Data provided from third-party identity providers are only refreshed upon sign in. To show the latest data, you will either need the user to sign in again or you will need to use the third-party provider's access token to fetch the data yourself via their API.Cheers,Jacob
On Tue, Oct 25, 2016 at 7:35 AM, jittuu <soemoe...@gmail.com> wrote:
Hi all,I was trying to show profile photo in my app after user login (with facebook). It worked before but after a few days, I was getting `URL signature expired` error when I'm fetching photo URL.
My application flow is
1. auth with facebook whenever user open the app (if already logged in)
2. get the user info such as email, photo url.
3. show profile picture with photo url.
But, now it looks like FirebaseUser.getPhotoUrl() or FirebaseUser.getProviderData().get(0).getPhotoUrl() didn't give me the latest photo url.
How can I get latest photo url whenever user auth?
Thank in advance.
--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.