Trying to use Saver on Instagram files. If I use the API like this:
fetch("/api/dropboxupload", {
method: "POST",
headers: {
"Content-Type": "application/json",
},
body: JSON.stringify({
url: YOUR_FILE_URL,
filename: YOUR_FILE_NAME,
accessToken: accessToken.DropboxToken,
}),
})
I am successful. If I uninstall Dropbox from my node app and use Saver like this:
<a
href={YOUR_FILE_URL}
data-filename={YOUR_FILE_NAME}
className="dropbox-saver dropbox-dropin-btn dropbox-dropin-default"
>
Save to Dropbox2
</a>
All that happens is that the image opens in a new tab in the browser.
Popups are allowed in both Safari and Chrome for dropbox.com.