One month down in 2025: How are your resolutions coming along? Check out how to get back on track here.
Forum Discussion
harlanhaskins
7 days agoNew member | Level 1
Missing Open Graph data when loading shared file link
Hi!
I'm working on a chat service where our users would like to send public Dropbox links. I noticed that when I load a shared Dropbox link (like this one: https://www.dropbox.com/scl/fi/9zhr8oqh8d49vgkvtn6jo/IMG_3996.HEIC?rlkey=iw62xieb2yrxtn0ujczl2lmkb&st=yq524xne&dl=0) that when I inspect the HTML it contains og:image tags, etc. But when I load this directly from our server, the page resolves to a 404 and there are no media tags.
We're not trying to scrape or download files, we just want to display file metadata inline with users' chat messages. Is there a good way for us to ensure we get good data?
We're not sure how, for example, opengraph.xyz can show this metadata, but linkpreview.net cannot.
Any help would be appreciated, thank you!
- DB-Des
Dropbox Engineer
Hi harlanhaskins,
By default, shared links point to HTML preview pages, not the file content itself. You can modify these links for other behaviors though, such as direct file access. You can find information on doing so here:
https://help.dropbox.com/files-folders/share/force-download
About Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.5,943 PostsLatest Activity: 3 hours ago
If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!