cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
If you’ve changed your email address, now's the perfect time to update it on your Dropbox account and we’re here to help! Learn more here.

Dropbox API Support & Feedback

Find help with the Dropbox API from other developers.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

get photo link to bank

get photo link to bank

khatech
Explorer | Level 3

Hello, I need help, how can I get the link of a photo uploaded to store in the database?

9 Replies 9

Mark
Super User II

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


 


:penguin::penguin: - :penguin: - :penguin: - :penguin:


Heart Did this post help you? If so please mark it for some Kudos below. 


:white_check_mark: Did this post fix your issue/answer your question? If so please press the 'Accept as Solution' button to help others find it.


:arrows_counterclockwise: Did this post not resolve your issue? If so please give us some more information so we can try and help - please remember we cannot see over your shoulder so be as descriptive as possible! 


 

Greg-DB
Dropbox Staff

@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.

khatech
Explorer | Level 3

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

Greg-DB
Dropbox Staff

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.

khatech
Explorer | Level 3

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

Greg-DB
Dropbox Staff

@khatech Can you elaborate on what you mean when you say "the shared link doesn't work"? For instance, please share:

 

  • the steps to reproduce the issue, including relevant code snippet(s), but don't include any access or refresh token(s)
  • the full text of any error or unexpected output, a screenshot of the unexpected result/behavior, etc.

 

khatech
Explorer | Level 3

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

Greg-DB
Dropbox Staff

@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.

khatech
Explorer | Level 3

Hi, got it, thanks for the feedback.

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    khatech Explorer | Level 3
  • User avatar
    Greg-DB Dropbox Staff
What do Dropbox user levels mean?