Comments
-
@"sr_c" wrote: ..."Error in call to API function "files/save_url": request body: could not decode input as JSON"main part of the script attached below--------------------------------------------------------... let postOptions = { method: "POST", headers: { "Authorization" : "Bearer " + appToken, "Content-Type" :…
-
@"FrustratedUser3", When you use redirect URI to receive a code, you have to use the same URI as a parameter in the call to /oauth2/token (the 'redirect_uri' parameter). 🙂 In spite this parameter is optional in general, it becomes mandatory with code received through redirect URI and the value should match this URI. As can…
-
Hi @"FrustratedUser3", If you mean callback query (redirect URI), after confirmation by user, ( it's NOT a call!!! ) GET method is in use. For code flow, there is mandatory 'code' parameter and optional 'state' parameter (appears when/if set in auth URL). Further you need to finish the flow with call to /oauth2/token where…
-
@"pkd" wrote:Thank you but this is not what I asked for. I thought that there exists simple script that lets you ulpoad files to Dropbox. ... 🤔Did you test the above script? It can perform upload of one or more files in pointed Dropbox place/folder! The simplest upload command would be: dropbox_file upload <your local…
-
@"subyankee" wrote:... Does everyone have a namespace? Or does it only apply to subfolders? Or is it just the top-level folders? ... Hi @"subyankee", None of the above. Let's see a simple example - personal account where you are working alone (without any shared folder, edit links, file requests, third party apps with…
-
Hi @"pkd", I have no idea what you mean "simple Python script", but here is one that handle needed credentials receiving and do some work: #!/bin/python3################################################################################ Script uploading files to Dropbox and receiving Dropbox links#…
-
@"spmish" wrote:... (org.gnome.Nautilus:8764): GLib-GObject-WARNING **: 09:23:56.100: Two different plugins tried to register 'TerminalNautilus'. ... Hi @"spmish", Seems like you have issue with nautilus-extension-gnome-terminal plugin, not Dropbox' plugin. Have you installed something by hands (without using Ubuntu…
-
@"sffatcat" wrote:is it possible to generate a access token for a Team folder? ... Hi @"sffatcat", Take in mind that tokens are associated to corresponding accounts, not to specific folders (including team folders). Once you have OAuth flow done, you can use resulted token to access all folders accessible for particular…
-
Hm..🤔 Seems, I was not clear enough. I will try make it clearer. @"new_to_dreamland" wrote:... If I understand you correctly, if we are able to make an application that have proper control carefully, end users can access our Dropbox account embedded in the application where they can upload/edit/delete files of what they…
-
@"new_to_dreamland" wrote:... I was thinking all of end users who are going to use our app will not need a dropbox account, and they can upload files via dropbox connecting to our dropbox account through the app. In such case, as you mentioned, it is technically possible but not officailly supported? Am I correct? ... Hi…
-
@"Tomtit", Would be much easier if you start with some simple test code (something like shown here). 🙂 Once you got it running, you can play with different code modifications there. It's more automated when redirect URI points to local address rather external one for standalone local application. In referred example such…
-
@"env", As noted in the error message, you got, you need to specify which team member should be impersonated. While a personal account can represent single user only, team account represents least 3 members/users! That's why for team account you need to specify concrete member. During OAuth2 flow you get such ID. Keep that…
-
Hmm...🤔 @"Walter", Where in the page, your link points to, can be seen DEB package dedicated for Gtk4 based Nautilus? As far as I can see, the plugin in the DEB package there supports only Gtk2 or Gtk3 based Nautilus. Am I wrong? 🧐
-
It depends where are you using javascript. If you use browser session, better rely on Dropbox user session. In such a way you don't need any code or refresh token management. If you use javascript for standalone client side application or server application (node for instance), use something like my previous example. Both…
-
@"env" wrote:... can you please provide an example how to do that? there is an API call of dropbpx-sdk for that? ... Hi @"env", You didn't mention what SDK you are using. If you use Python, then an example can be seen here. If you use some other SDK you can adapt the same idea. 😉 Good luck.
-
Hi @"Asharaf", To create shared link(s) to either file(s) or folder(s) you can use corresponding methods. For an idea in Python, you can take a look here. Every received link, in such a way, points to preview page (not the actual file or folder)! To download pointed content, you need to 'transform' preview link to download…
-
@"deckard" wrote:... How do I make the default action for Copy Link be View instead of Edit (like it was up until a couple weeks ago)? Yes, stupid move is the changing default settings of any kind (I fully agree). Of course, the available new option can and should be possible to be set as default (without automatic…
-
@"See Saw IT Support" wrote:... I'm trying to create a Python script using the API to pull a list of all shared folders ... Hi @"See Saw IT Support", What would you say for method team_namespaces_list/continue? 🧐 Once you have all namespaces and their type you can get the metadata for everything of interest for you. 😉 Take…
-
@"lucaferretti" wrote:... After 4 hours can I generate a new one (through api) ... Hi @"lucaferretti", Yes, that's the idea. You can do it even before that 4 hours period. 😉 @"lucaferretti" wrote:... Isn't there a way to get a "permanent" link? ... Yes, there is. Take a look here. Hope this helps.
-
For Windows you can start here: https://learn.microsoft.com/en-us/mem/configmgr/core/plan-design/security/enable-tls-1-2 Take in mind that your build environment may need additional "tuning"; read the related documentation. Good luck.
-
@"admsho" wrote:... (* will localhost will be used at the final stage when it is ready for publishing or will I need to change it? ... Whatever is the public domain name of particular machine (if any), localhost domain (and the corresponding IP) is always available and the same. That's why it's convenient is such cases and…
-
Hi @"boomtech", Try something like the idea presented here. 😉 Hope this helps.
-
Ok, the above shows that your localhost is working. So, again, do you get proper result from the mentioned function? 🤔 Take in mind that the example code (part that you haven't shown) doesn't return back to the browser anything if you haven't changed it somehow! 🙂
-
@"admsho" wrote:... I replacesd "XXXXX" with the key, i think I must use som other URL rather than my localhost? No,no... It's not your issue. The localhost is working. Are you handling this request in your 'HandleJSRedirect' and what are you returning there? 🧐
-
@"admsho", Seems you have changed more things than you have declared. 🙂 Where those address comes from? Actually does your code handles that address or you're skipping it? 😉
-
@"admsho" wrote:... private const string LoopbackHost = "http://127.0.0.1:52475/"; ... but I get the following we page result: ... Hi again @"admsho", The result you got shows that your LoopbackHost value isn't registered In the OAuth2 RedirectURIs list of your application. Something mandatory and noted in documentation…
-
@"sjyuenger", To be honest I'm not sure what you're asking me for. If you want to use API (or some suitable SDK) you should use API calls (or corresponding SDKs methods). In all other cases you can use whatever you want and works for you (since your example is related to local files, eventually synced). Clarify to yourself…
-
Hi @"sjyuenger", There is a special call to receive a single entry (either file or folder) metadata. Actually you don't need it since when you list available entries in Dropbox account result is a list of such metadata - you receive them even when you don't want. So, Yes, that can be done! 😉 Good luck.
-
@"admsho" wrote:... I only change the following but it keeps giving error "Acees denied": ... private const string LoopbackHost = "https://www.dropbox.com/oauth2/"; please explain to me if the link I have used is correct, and is there any other info that I need to provide?? ... Hi @"admsho", Hmm... 🤔 Are you the domain…
-
Hi @"ogurchik222", Unfortunately, in Dropbox Python SDK examples is not any like you are looking for. I have posted some time ago some code (not exactly what you ask for) which do the authentication flow (on first run) and actual work in the same module. You can split this code and use the part responsible for…