Comments
-
@"whats" wrote:... -When you say "replace" the refreshing process, what do you mean exactly? ... 😁 Yeah... Maybe I said it too.. "hard". That's why I clarified: "adding app secret". "replace" here means edit the algorithm, no so much actual replace. This results from, as I already said, application secret is NOT supported…
-
@"whats" wrote:... What does your code look like in xcode once you have these parameters? What are you calling? The code anywhere looks exactly like you would code it, nothing else. There is no a single way to do it - it's matter of design decision. If you want to stick as much as possible to the Dropbox Swift SDK, you…
-
@"whats", you can take a look here how you can perform OAuth by hands and use the refresh token in your code (you'll need app secret too by the way).
-
@"Moesslacher" wrote:... where can I find out about how to use this API if it is not documented? 😁 As in all cases when something is not documented, you can always trace what's going on when your file browser tries to determine your sync status (or other things) and re-implement it in your code (if you're patient enough).…
-
Every Linux distribution has its own basic (and no so basic) packages set. This is valid not only for different distributions but for different versions of same distribution. Changing some basic package' version could affect the work of many different other packages (many things become deprecated in time and some of them…
-
As seems you have already installed Dropbox application (despite partially - probably forcibly - it's never good idea, don't do it). Try finish installation using: sudo apt-get install dropbox
-
Hi @"wrishel", As seems, wrong file association of deb files. Anyways... You can always install it using command line, like: sudo dpkg -i dropbox_2020.03.04_amd64.deb Hope this helps.
-
@"Ghost Mjrm" wrote:aha yeah i don't know how you got there ... It's the internals of same link, I posted before. Nothing new. @"Ghost Mjrm" wrote:... but its seem to me he is using kotlin not java but i will figure it out ... Kotlin is widely used as a Java replacement (it's definitely more powerful), so Dropbox does the…
-
@"Ghost Mjrm", Be more careful when inspecting the code. @"Ghost Mjrm" wrote: ... there is no offline ... Hm..🤔 Let's see where the OAuth starts here and what actually gets executed here. 🧐 Are you still thinking "there is no offline"? 🙂 @"Ghost Mjrm" wrote: ... or refresh token example Let's see where OAuth finish here…
-
@"Moesslacher", This "new" feature is implemented long time ago actually. It's just not document properly and not officially supported. 🤷 That's it.
-
You can take a look on the example here.
-
@"Ghost Mjrm", There is no way to get non expiring access token. As discussed before, you need to use refresh token instead. Refresh token doesn't expire automatic, so you can use it more than 24 hours. 😉 Use OAuth as Greg suggested there. Don't forget to set offline access. Good luck.
-
@"Peter G" wrote:... Dropbox is set to autostart via KDE's start and shutdown dialogue. ... @"Peter G", Dropbox setups itself for autostart. You don't need to do it in any other way. Even more - it's known bug that Dropbox may get confused if you try it, so you must not do it! Unfortunately, Dropbox support for Linux is…
-
Hm... 🤔 @"RogerOakes" As seems you have customized your distribution - something in general not advisable if you're not aware what you're going to do. Anyway... Are you sure you have not a mistake on type/copy your command output? The output doesn't seem to come from latest supported package version (2020.03.04). Just we…
-
Hi @"Schwankenson", What about using users_get_current_account method? 🧐😉 Hope this helps.
-
Hi @"Nicolas Lavertu", The file always gets uploaded but if it's the same (i.e. same name, path, size, and content), it's ignored. That's it - nothing to change. In such case metadata remain the same. Hope this clarifies matter.
-
@"bebuccio" wrote:I have written a webapp to make the whole procedure to retreive a REFRESH_TOKEN so I can ask for a TOKEN when I want interacxt with DropBox. When I invoke this my page, it send a GET to https://api.dropbox.com/oauth2/authorize with this params:…
-
Hi @"Adi4", The behaviour, you described, is something normal (strange would be different one). When you copy something (either file or folder) the destination should not exist! It will be created on copying. When destination exists (folder in particular case), the error you're receiving is something normal. If you want to…
-
@"Optiknerd" wrote:... I am trying to use the Dropbox API together with the Vimeo API to upload files from Dropbox to Vimeo.] I have successfully created Dropbox Temporary Upload Links using the Dropbox API ... Hi @"Optiknerd", You need upload link from Dropbox API (/2/files/get_temporary_upload_link) when you need to…
-
@"ABDUL Salam" wrote:... Interestingly, the same URL functions correctly when hardcoded in /save_url request parameter. Do it in the same way when the request fails, not like when succeeds!
-
The same like in Greg's experiment, everything works as expected. @"ABDUL Salam" wrote:... It was working fine early on locally bu as soon as I have deployed my script and check the logs after execution then this endpoint returns me a async_job_id which I use to check job status from…
-
Hm..🤔 I just checked it and everything seems valid. In first case I received: { ".tag": "complete", "name": "#1135_GOLF-P-WE-AU-BLACK.eps", "path_lower": "/2023/november/#1135/golf-p-we-au-black/#1135_golf-p-we-au-black.eps", "path_display": "/2023/November/#1135/GOLF-P-WE-AU-BLACK/#1135_GOLF-P-WE-AU-BLACK.eps", "id":…
-
@"ABDUL Salam", to be honest, I don't know why did you received exactly that error, but your path is definitely invalid (in the second case). In Dropbox whatever path you use must NOT end in slash and when we're talking for file path, it should include filename too - something missing in your case. Fix it. Good luck.
-
More details about that error would be useful. It's not clear what doesn't work for you actually. The refresh token will just 'extend' your authentication 'life' (if could be said so), nothing more.
-
@"HADES", You don't need listing at all. Just proper path formatting would be enough. I proposed you list your folder just to see what's there - i.e. for debug - nothing more.
-
Hi @"ABDUL Salam", You don't need to tag any slash! The backslashes you added make your link invalid (and not only - the next error would be that your path in invalid too). Trace where those data are coming from, in your code, and fix whatever needed. By the way it's not a good practice to pass access token directly.…
-
Hi @"Adi4", Keep in mind that download method, you're using, returns DbxDownloader object representing the entire response, not directly the content! This object contains the file metadata as well as stream usable for fetch the actual file's content. As seems, you handle object as data - something that stringify current…
-
Can you post the terminal output when executing the commands, I posted above?
-
Just performing OAuth flow and using "offline" as type will give you refresh token that doesn't expire. 😉
-
It's not a Dropbox error, so yes, better check what the error means. Also, if you're passing the Dropbox link to a parameter of URL then you may need to URL-encode the link before passing! Skipping this, if needed, for sure will lead to error. Many people make this mistake. Good luck.