Dropbox API Support & Feedback
Find help with the Dropbox API from other developers.
Hi,
Today i saw this feature that allow a user to just click a button to save the file to the dropbox account. So i was thinking in taking advantage of this feature by creating a page were i just type the direct location on a input field and after pressing the button the file gets transfered.
I have tried diferent techniques after reading the developers documentation but without any luck. there is a problem with file location or it doesn't work.
Any comments or help this
Thanks
I tried a localhost http server and didn't work either. I did add http://127.0.0.1 and localhost on the app section on the dropbox site.
I get the following error:
{"error": "Origin does not match any app domain"}
This was what i was trying to build but it doesn't work. I get the file value but when executing it! It open the the image.
<form> <input type="text" id="file_id" value="https://dl.dropboxusercontent.com/s/deroi5nwm6u7gdf/advice.png"><br> <input type="submit" value="Send!" onclick="send()"> </form> <script> send = function() { var file_id = document.getElementById('file_id').value; document.write('<a href="'+file_id+'" class="dropbox-saver">123</a>'); } </script>
OK, Thanks
Hi there!
If you need more help you can view your support options (expected response time for a 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!