It’s a side project for me, and I’ve been working on it for a few months. I often share links to the app on LinkedIn when I implement new features. When I share the link to the app, LinkedIn auto-generates a thumbnail to the app. However, that thumbnail appears to be to a much earlier version of the app.
I’m not clear if that image is generated by Streamlit or LinkedIn. But if it’s generated by Streamlit, is there a way that I can somehow cause it to be regenerated?
You can see an example of what I mean here. I just posted this status update today. And the image is very different than what you’ll see if you actually visit the app.
Community Cloud generates those previews and it should automatically update itself. However, it doesn’t happen instantaneously. It should generally update within 24 hours. However, there may be downstream effects where other platforms or clients have cached the old image and may take a little longer to pick up on the new one.
So this is fascinating. I entered the link of my app there and it generated the correct thumbnail.
I then went to linkedin proper and drafted a post and it used the new thumbnail too.
Then I went back to my old post, and it had the new thumbnail!
I think that entering the URL into that page was the trick.
The original thumbnail from my post this morning was so old, it literally said “streamlit test” . Like, it was months old, and I’ve had dozens of commits since then. I just get so wrapped up in new features, that it took me a while to try and address this.
Thanks so much. I just bookmarked that page, and the next time I run into this issue I know what to try to fix it!