Здравко Legendary | Level 20

Comments

  • 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…
  • @"bfmaier" wrote:... It's kinda mind-boggling that this number is so low per default and that the App doesn't tell you what's going on when you hit the limit and instead just "unwatches" all files and remain in "syncing" forever. ... Hi @"bfmaier", I agree that Dropbox application should tell user what's going on in more…
  • Hi @"Bhagwant Singh", Since you're planning to use your script on your account only (personal, non team account), make sure no any team scope is active in your application' permissions! Seems like there is least one such scope and that's why it's forced/expected a team account to be logged in. Hope this helps.
  • @"agomezv" wrote:... My question is: How can I get access the API whitout implement the OAuth2 flow? ... Hi @"agomezv", It's impossible yet. @"agomezv" wrote:... This because it will be impossible that the user gets a token from the AppConsole everytime that he use my VBA app. ... The user doesn't need to go in such a way.…
  • @"amilcarvalho" wrote:... Thanks for you answer. I post to the endpoint "/2/files/search_v2". With just {"query":"tag1"} on body. I want to retrieve content that contains the tag1. Is this possible? ... In such a way you will receive all entries metadata matching to the query. Matching are all entries (files and folders)…
  • Hi @"amilcarvalho", I checked it and everything works. Yes, it's inconvenient since not option to direct the search to tags only and many unrelated result entries may appear. In spite all tags get in the result in correct way. What's the exact call your performed? Did you restrict the search operation in a way that can…
  • @"kdss-ja" wrote:... Question will this AccessToken last for long time? Hi @"kdss-ja", If as long time, you mean 4 hours or so - Yes, otherwise - No. Doesn't matter how you gonna get your access token, it's always short lived. Read with some more care Greg's comments above! The Dropbox client object can manage the access…
  • @"Julian Li" wrote:... Thus, in this case, how could we obtain a token without authorisation via the browser? ... Hi @"Julian Li", It's still impossible if you want long term access. You can get access token without browser, but it would be short-lived token (most probably not what you want). @"Julian Li" wrote:... And for…
  • Hi @"jaredsaia", There are some imperfections in Dropbox application (not to say bugs). Next time when you're going to change some settings (including username), better unlink (sign out) the Dropbox application from your account and link it (sign in) back after settings change. Otherwise the application gets in confusion…