<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Facebook images missing]]></title><description><![CDATA[<p dir="auto">Hello Community.</p>
<p dir="auto">I noticed that imageUrl of users logged in via the Facebook IDP expire when a user doesn't login regularly. Is there any possibility to cache those images within fusionauth or do I need to take care of it myself? The images clearly expire on Facebooks side (only IDP I've tested so far). Image requests (which previously worked) respond with a 404.</p>
<p dir="auto">Before implementing my own strategy I want to make sure there isn't a better <a href="http://way.My" rel="nofollow ugc">way.My</a> solution would look as follows:</p>
<ul>
<li>Register a webhook which listens to the <code>user.login</code> event, read users imageUrl Property.</li>
<li>On my Backend, I'd fetch the image and create a copy of it on my backend, storing it in an s3 bucket or someplace else.</li>
<li>Then update the user in fa with a url pointing to the copy in a property under <code>data</code> (like <code>data.avatarUrl</code>).</li>
<li>On the frontend I'd always use the url pointing to the copy.</li>
</ul>
<p dir="auto">This would update users image on every login via IDP while allowing the use of <code>data.avatarUrl</code> for manually uploaded avatars as well.</p>
<p dir="auto">Is there a better way?</p>
]]></description><link>https://fusionauth.io/community/forum/topic/733/facebook-images-missing</link><generator>RSS for Node</generator><lastBuildDate>Thu, 13 Aug 2026 16:10:22 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/topic/733.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 13 Jan 2021 17:34:13 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Facebook images missing on Wed, 13 Jan 2021 17:38:25 GMT]]></title><description><![CDATA[<p dir="auto">So, this appears to be a limitation of Facebook. Here are the <a href="https://developers.facebook.com/docs/graph-api/reference/v3.2/user/picture" rel="nofollow ugc">API docs from Facebook</a> which have no mention of how long the image URL returned if you pass <code>redirect=0</code> is good for.</p>
<p dir="auto">Looks like <a href="https://community.auth0.com/t/facebook-user-picture-not-showing-up-url-stored-in-auth0-is-expired/13686/5" rel="nofollow ugc">some Auth0 users also encountered this</a>.</p>
<p dir="auto">So I think you are on the right path with downloading the user's Facebook images and updating them on your side every time a user logs in.</p>
]]></description><link>https://fusionauth.io/community/forum/post/2179</link><guid isPermaLink="true">https://fusionauth.io/community/forum/post/2179</guid><dc:creator><![CDATA[dan]]></dc:creator><pubDate>Wed, 13 Jan 2021 17:38:25 GMT</pubDate></item></channel></rss>