I am creating an android app that downloads a shared file though normal http, not using the dropbox api. I am creating a shared link to the file manually, then I am using that link in my app. However, I am not getting the file back. Instead I am getting some dropbox file. Here is the beginning of what is in the file I get:
!DOCTYPE html><html lang="en" xmlns:fb="http://ogp.me/ns/fb#" xml:lang="en" class="media-mobile" xmlns="http://www.w3.org/1999/xhtml"><head><script nonce="y2kO2oszFg5
the http download I am using works correctly on several other files on the internet, but not for any of the publicly shared dropbox file links.
The file link does work if I past it into a browser.
Not sure why dropbox dosn't return this file? I am trying to access it just like a browser would.
Thanks, Dan