cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Back again with another edition of 'How we use Dropbox', so find out how Emma uses to-do lists to get it all done 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: 

Script Copy Dropbox Link to Apple Mail

Script Copy Dropbox Link to Apple Mail

SirAider
Explorer | Level 3

Dear All

I want to do a script on my os x sierra which copy the "Copy Dropbox Link" of a file in a new apple mail from the default mail account. Also, in the file name there is an email address -  this email address should be placed automaticaly in the "TO" field in apple mail.

I am not sure which programming language I should take for that. The program is for mac users. Can you give me an advice so I can take the right direction / Dropbox API? I will self study the rest^^

Appreciate your help.

 

Thanks,

SirAider

 

 

 

 

1 Reply 1

Re: Script Copy Dropbox Link to Apple Mail

Greg-DB
Dropboxer

It sounds like you're referring to the feature of the official Dropbox desktop client where you can right click on a file or folder and choose "Copy Dropbox Link" to get a shared link for that file or folder.

The Dropbox API doesn't offer a way to interact with the Dropbox desktop client itself, but you can use the Dropbox API to communicate with the Dropbox servers to get the same kind of shared link.

To create a shared link like that, you would call /2/sharing/create_shared_link_with_settings: 

https://www.dropbox.com/developers/documentation/http/documentation#sharing-create_shared_link_with_...

Or, to retrieve an existing shared link, you would call /2/sharing/list_shared_links:

https://www.dropbox.com/developers/documentation/http/documentation#sharing-list_shared_links

Those are links to the documentation for the HTTPS endpoints themselves, but we recommend using one of the official SDKs if possible:

https://www.dropbox.com/developers/documentation

Those have corresponding native methods for the HTTPS endpoints. 

I can't offer guidance with the non-Dropbox side of things though, such as choosing a good programming language for your platform, or interacting with Apple Mail.

Who's talking

Top contributors to this post

  • User avatar
    Greg-DB Dropboxer
What do Dropbox user levels mean?
Need more support?