Здравко Legendary | Level 20

Comments

  • @"msmoe" wrote:... If so, how to do it? Sir. Please Help. Because I've tried and I can't. ... 🤔 I'm not sure what actually you ask me. Do you ask me how you can do a post HTTP request? 🧐 If so, you have already done one successful - take a look on your call to /2/files/get_temporary_link (the result of which is last post…
  • Hi @"msmoe", Seems you haven't read your tooling documentation. What is: @"msmoe" wrote: ... $res = $client->request("POST", "https://content.dropboxapi.com/2/files/upload", [ 'headers' => [ 'authorization' => "Bearer {$this->getToken()}", 'Content-Type'=> 'application/octet-stream', 'Dropbox-API-Arg' => json_encode($args)…
  • Hi @"mauro991", Yes, exactly, the reffered post is correct. One of my posts together with the interest to the matter provoked 'official post'. As result of setting "offline" mode, you are receiving refresh token and... instead using it as such (long lived), you are using it as a short lived one! This is your issue. There…
  • Hi @"mauro991", The code you are talking about is for one time use. 🙂 This code is used as a confirmation when refresh token (and others) are going requested. Short after that it's no more valid. You need to keep the received refresh token and reuse it instead of the confirmation code. 😉 Refresh token doesn't expire…
  • @"SneYellow46" wrote:... How I can make the DBUserClient, initWithAccessToken call with this refresh token to get access to my dropbox. similar to , client = [[DBUserClient alloc] initWithAccessToken:@"I5wqb1d...."]; ... I found with methods with initWithAccessToken which takes in refresh token ... No unfortunately, the…
  • @"msmoe" wrote:... size is 0. why sir? Hi @"msmoe", This means the file has been uploaded incorrectly. Do you able see the same file using the web interface of your account? Is there some content? How have you uploaded it; using web interface, locally installed Dropbox application, or API (in your application)?
  • @"Walter" wrote:... For anyone affected who'd like to have a look internally, please let us know here and we'll reach out via email to investigate further. Hi @"Walter", If someone from your developers in spite available push request want to take a look more close, a good start point is running up to date nautilus and try…
  • @"SneYellow46" wrote:... I know that using oAuth flow tokens are refreshed automatically by DB SDK. But in my case what is the solution? ... The same. 😉 Once you get to the authentication info just save it and embedding. That's it. Take a look on the description if you have something forgotten.
  • @"SneYellow46" wrote:... So in such case is it possible to refresh the token from the mobile side without oAuth flow?. Yes, it is. Once refresh token is available the refresh can be done on any platform; not only on mobile (as a process it's the same; just a call to Dropbox server whenever needed without any user…
  • @"SneYellow46" wrote:..., we wanted our application to be distributed to few users directly with embedded access token so that that they just install the app and start accessing data/files from our DB account within the application. ... In such a case you can count it as something like server side application (server side…
  • @"SneYellow46" wrote:... Yes that is the issue, the data resides on our dropbox and we dont want to give users access to our dropbox credentials that is why don't want to use oAuth flow. ... 🤔🤨🤷 Just opposite!!! That's why I told you that embedding any long lived token is not good idea for something different than server…
  • @"SneYellow46" wrote:... Do you mean we have to make oAuth flow from my application once and get access token and use it later do distribute to other users to grant access? ... No, no, no... You said that you need generated access token. That was related to this - nothing more!!! I said, such a solution is suitable for…
  • @"SneYellow46" wrote:... Note that we need to use the generated access token approach other than oAuth flow. ... Hi @"SneYellow46", You can't use generated access token for long term access. All access tokens are short lived (including generated). You may retrieve refresh token in separate application (so one OAuth flow…
  • @"luigiafassina" wrote:... What are the scenarios where the Dropbox service returns a null refresh token? ... Hi @"luigiafassina", Are you sure you have set offline as access type? 🧐 Refresh token require offline access; if not set as parameter on initial authorization URL, you will never receive it.…
  • Hi @"Zohanlon", In spite some time ago was possible to receive long lived access token, it's not possible anymore. You can still use available long lived access token if you have one (in the way you are trying to), but new one cannot be issued; all new tokens are short lived with validity period 4 hours, at most. For long…
  • Hi @"Faulk", By default the point assumed to be root for API access is users home folder (i.e. your Faulk folder), not the account root. If you want to change this root to any other namespace (including to account root), you need to use Dropbox-API-Path-Root header. 😉 Hope this helps.
  • @"sjyuenger" wrote:I currently am able to capture the meta data from any file system I can mount as a drive, this includes my backup system from Macrium Reflect and other systems. Does Drop Box data file structure conform with the Windows definitions? ... The Dropbox folder is a folder like any other folder! This folder is…
  • Hi @"sjyuenger", This forum targets Dropbox specific things (in this forums part - things related to Dropbox API/SDK). You rather need a Python tutorial and suitable Python package like 'file-metadata' for instance. 😉 Good luck.
  • @"Polas" wrote:... I assume it's persistent and I don't need to retrieve it every time I access it ... Hi @"Polas", That's the mistake of you. In spite some time ago was possible to receive long lived access token, it's not possible anymore. You can still use available long lived access token if you have one (in the way…
  • @"Greg-DB", I believe adding a new feature for anchor transferring would improve user experience related to parametrize document view (for instance the case described by @"vcha"). Would be fine a link parameter caring anchor content to be available (for instance a parameter named "anchor" passed together with "raw"…
  • Hi again @"Megan", As I said: @"Здравко" wrote:... I'm ready to assist. ... Did you try it? Do you have any questions related to reproducing the issues? There is NOT anything "device specific"... ADD: Some additional information if someone developer decides to take a look on discussed issue. All files in Dropbox have…
  • @"Megan" wrote:... I'd be more than happy to send you an email, in order for us to have a closer look into this, and provide any further info or help that you may need. Would that be okay? ... Hi @"Megan", Nice you are taking care. 🙂 I don't need help with the application! I have signaled for a bug in your application…
  • @"vcha" wrote:... When I add #page=3 (example below), it still display the whole pdf. ... Hi @"vcha", First of all, the whole pdf gonna show always! If you want only particular page to show up, you need to edit the pdf on fly and strip all other pages. Adding particular page as a anchor just navigates to that page, but…
  • Hi @"tenzin", Embeder cannot handle all data types. Currently audio and video files are not supported as noted in the link you refer to. You should organize audio playing in your site by yourself. Selecting particular file or folder can be achieved using Chooser too. Good luck.
  • Hi @"Paul43", Since you are owner, your access shouldn't be affected by any other account joining or leaving (including when some of other accounts is going to close). In addition you can unshare the folder or remove particular account, but such thing isn't something you need to do. Hope this helps.
  • @"chelmite" wrote:I tried this procedure in Ubuntu 22.10, but got the following: Err:10 http://linux.dropbox.com/debian kinetic Release404 Not Found [IP: 18.154.144.59 80] Hi @"chelmite", 2 things! * Try with secure HTTP - replace leading http: to https: 😉 * Next, Ubuntu' "kinetic" release (it's not Debian's as seems you…
  • 🤦 Ok, seems nobody from developers takes care for the bugs reported. 🤷 That's not some secret, but... anyway.
  • @"DoControl" wrote:any changes or updated within the api to support listing the sharing links for a shared folder? Hi @"DoControl", You are asking something different than the OP! Listing of a folder pointed by a shared link was and is possible/supported. Unfortunately, the information provided by /2/files/list_folder…
  • @"novaut" wrote:... One question for how long refresh_token is alive? Is it long-lived? ... Hi @"novaut", Yes, it's long lived token. The refresh token remains valid till explicit revoke either from application itself or user that granted access for your application to its data. @"novaut" wrote: ... I successfully got the…
  • @"Greg-DB" wrote:... For instance, the examples under "App Authentication" show the use of /2/files/get_thumbnail_v2, which does support App Authentication, ... 🤔 Hm.. really... let's see this ' for instance': curl -X POST "https://content.dropboxapi.com/2/files/get_thumbnail_v2" -u "<APP_KEY>:<APP_SECRET>" \ --header…