Здравко Legendary | Level 20

Comments

  • @"bspindia" wrote: ... curl_setopt($cl,CURLOPT_POSTFIELDS,'{"****my_AppKey******":"***AppSecret*******"}');... What's this? 🤔 Why it's here? Authentication passes through BASIC authentication or passed as a independent parameter(s) (what's this post parameter that you are posting above actually 🧐). Can you point exact…
  • @"bspindia" wrote:... i should keep refresh token and request for shorl live token using refresh token using curl to make api calls, ... Either 'curl' or 'fetch'... Yes.
  • @"bspindia", don't be so lazy! Don't ask question that I just explained in my previous post above. Ok. I'll repeat again: one of the possible usage of mentioned call is access token refresh!!! Do you need such a refresh (i.e. your access token expired as explained here, for instance)?
  • @"bspindia" wrote:means i have to make fetch with received code for token, right Did you read the documentation? What is the call /oauth2/token, you asked about previously for? 😉 Also, take in mind the above call is used in different situations, with different params (different results, of course) - when you are getting…
  • @"bspindia" wrote:... again i made a location.assign("... Why "again"?! 🤔 You have already all you can get from this page (i.e. the code). What are you looking for there again? 🧐 @"bspindia" wrote: ...but got 400 error as Unexpected response_type request param value. Yes, it's normal. You haven't set 'response_type'…
  • @"vas1992" wrote:... I am getting an error: ... Of course, when you are using invalid object, errors can be expected. Even more, would be strange if it passes without error.
  • @"projectdeliverypartners" wrote:... I would very much like to avoid copying whole project folder location if i can. ... Hi again @"projectdeliverypartners", To be honest I have no idea why you need this copy, delete, etc. 🤔 Isn't keeping the files on single place doesn't work for you? (Let's say keep them outside the…
  • Hi @"projectdeliverypartners", I see what you want to achieve, but activities exactly what you want are not supported. While on Linux it's relatively simple to do something alike (pause and resume, after you have done) using shell script, on Windows it isn't so trivial. In all cases you can upload all target files…
  • @"vas1992" wrote:... I don't know how to extract "allocated" from here. Hi @"vas1992", You can do it like any other field on any other object in Python (as programing language). Just read what you have got in documentation. 'users_get_space_usage' method returns SpaceUsage class object. You have successful get in touch to…
  • Hi @"bspindia", You cannot call /oauth2/authorize as regular API call (or similar)! This is address you should redirect to (either explicitly or with web link) your web session to let user authenticates. So you cannot use 'fetch'. To get some of results fields (including the code) you have to "catch" it in your browser…
  • Hi @"bspindia", The call /oauth2/token doesn't support Bearer authorization. It's used to receive such a token, not to use it. Can be used Basic authorization to pass application key and secret or pass them as parameters. Depending on exact step you are performing other parameters should be passed too, but you are skipping…
  • Hi @"sundar_papco", You can review all Dropbox Java SDK related examples here. 😉 Good luck.
  • @"MightyModest" wrote:... I think my confusion is about how to implement a Python-specific way of using that refresh token to constantly grab a new short-lived token. ... I've searched for an example of how I can programmatically (I imagine via a cron job that runs more frequently than the four hour expiration time) use my…
  • Hi @"DylanC", Sounds like you're using group/business account and when upload a file you are pointing the place without explicitly set path root. Am I right? Take in mind that by default path root is the member folder (both for admin and regular user), not the account root (as seems, you are thinking 😉). That's where your…
  • Hi @"MightyModest", You are doing well initial authorization steps! 😉 So, you already have all needed to be able perform regular API calls. The API calls accept access tokens only, NOT refresh token!!! That's where start your errors. First, don't try replace the access token with refresh token - as you know already it…
  • @"Kronisk" wrote:... The one clue I have is that due to security or OS changes, the Dropbox required folder is now somewhere in the hidden Library folder, the location of doom for users who are not confident. Hi @"Kronisk", Yes, you are correct; the new (now mandatory) Dropbox folder location is…
  • Hi @"jbrede", As far as I can follow the logic of your code (in spite incompletely represented), you are trying to store Excel data as Google sheets. 🤔 Am I correct? If so, why? Hope this gives direction. PS: Just changing file extension doesn't change the file type! 😉 In your case you have Excel file content labeled with…
  • not_allowedVoid The user is not allowed to request a temporary link to the specified file. For example, this can occur if the file is restricted or if the user's links are banned. Cite from here. 😉 Hope this clarifies matter.
  • @"Megan" wrote:... Can you let me know more in regards to your issue?... @"Megan", can you let @"yendrrek" know how you have installed Dropbox application through official Dropbox repository on a fresh Fedora 37? 😉 Step by step walkthrough would be much more clear! By the way... did you do it actually? 🧐🤔 If no, try it and…
  • @"koizpad" wrote:... I want to be able to update a file while maintaining the same Dropbox shared link. ... Hi @"koizpad", Yes, that's the exact behavior when you update a file. 😉 You don't need to do anything more. @"koizpad" wrote:... However, when I replace it with another file with the same name, the link no longer…
  • @"LarsD" wrote:... Now I need a URL to share/open for that id. ... Hi @"LarsD", Do you mean a shared link? 🤔 If so, you can create such link using /2/sharing/create_shared_link_with_settings API call. 😉 Just put id as path there. If link already exists for particular id, shared_link_already_exists error will get back…
  • @"OLIM" wrote:I do not know where to store this token. ... Hm...🤔 really... 😁 Where you are keeping your application configurations? 🧐 ... different registry types, config file, some local wallet,... etc. 😉 The choice is yours! Most probably you have already made it if I have to bet, but you still don't understand it.
  • @"OLIM" wrote:... the user must open the browser and receive the code, from there paste it into the application, ... This is one possibility. I chose such a flow for clarity and simplicity. As mentioned there, you can automate this process using redirection. Then you will receive the same code through request parameter and…
  • Не разбирм руски, но от резултата на заявката ясно се вижда, че пак си поропуснал "code" параметъра... Нямам какво да добавя повече! Само ще повторя, че трябва да прочетеш още веднъж публикацията към която съм публикувал връзка и да следваш точно посоченото там.
  • @"OLIM" wrote:... http.Send ("{""oauth1_token"":""i dont now what is it"",""oauth1_token_secret"":""i dont now what is it""}") ... Me too... 🤷 Where came "oauth1_token" and "oauth1_token_secret" from? Do you have some outdated v1 tokens and want to transform them to v2 (the actual one)? You need to provide the temporary…
  • Don't make partial posting! 🤔 Where is the code actually?
  • Hi @"OLIM", I'm not sure what you ask for actually, but your example has nothing to do about tokens. There Basic authentication is used and it's something specific to this type of authentication, not just something Dropbox specific, and has always been performing using base64 encoding. You can't just concatenate the…
  • @"Здравко" wrote:... this 'data-binary'?! 🤔 Can you point out to the place where this is described? ... @"msmoe" wrote:... I am refer to the documentation. ... Hmm... really... Where is this documentation? Read it and probably you won't need somebody to tell you what you have to do. Again your main issue is the empty…
  • As I guessed, you have some network issues. Can you download the link above - https://www.dropbox.com/download?plat=lnx.x86_64 in some way and unpack it in your home folder? After that you should be able run the application, but without network connection it wouldn't work properly, most probably. Good luck.
  • Hi @"scipio3", Hm... 🤔 That's sounding really strange. It really needs the daemon to be download on first launch after install; the daemon is not part of the package itself. This is usually not a problem and this task gets handled automatically by the control script, part of the install and responsible for the application…