Hello, I need help, how can I get the link of a photo uploaded to store in the database?
You can get a shared link to documents via https://help.dropbox.com/files-folders/share, however if its to a bank you may want to ask and speak to them about what format they'll accept - many wont take links via File sharing sites for example
@khatech Also, since you posted this in the API section, if you want to create a shared link programmatically, you would use /2/sharing/create_shared_link_with_settings. To retrieve existing shared links, use /2/sharing/list_shared_links.
By the way, those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible. Those have corresponding native methods for the HTTPS endpoints.
I understood,my goal is to have a link that can view the image, this link will serve to attach image to a whatsapp message
In that case, note that by default, shared links point to a HTML preview page for the file, but if you need direct file data access, you can modify the links as shown here.
this is exactly what i need, a link to an html with the image, however, it's not working for me, i already had a good look at the documentation, but for some reason, the shared link doesn't work
@khatech Can you elaborate on what you mean when you say "the shared link doesn't work"? For instance, please share:
the problem with the link is that when clicking it asks you to log in, so I need a link that when pasting it in the browser it makes the image preview.
Thank you for your help
@khatech It sounds like you might be referring to shared link permissions. Check out the help center for more information on configuring shared link permissions.
Otherwise, please share the rest of the requested details if you need technical support.
Hi, got it, thanks for the feedback.