Mark L.45 Collaborator | Level 9

Comments

  • OK, I tried the redirect_receiver and got nothing back I understand. Here is my code. Tried this with a simple curl too... let request = NSMutableURLRequest(URL: NSURL(string:…
  • Yes, now I understand. Just tried it and it worked perfectly; will modify my app, this is a far better solution than creating links!! I find mymac:acme1066 localuser$ pwd /Users/localuser/Dropbox/Apps/acme1066 I created Monday, Tuesday, Wednesday etc within it and I list it with .. curl -X POST…
  • Gregory, The other ticket was linked to a file shared that never appeared when I requested all links; that really does seem like a bug; but this, this is I am sure is me not using the API correctly? Let me try and run thru this again. I create a app, acme1066. I create a directory ..…
  • No, the app folder had more than 1000 links within it created with the created_shared_link_with_settings API call, in subdirectories within the top directory named. So the app names a directory acme for example and within acme I have acmeA, acmeB and acmeC subdirectories; each of which contains X links to say photoA1,…
  • Hi Gregory, I think I have miss-understood a concept here. I create a app that has access across all my files on my dropbox and my app works. I create an app with limited access and I it doesn't. The app itself uses HTTP protocol, so calls much like the one above. After installation the app makes this call.…
  • Here is a more complete answer, in perl of course since I am a pathological extended rubbish lister fan. #!/usr/bin/perl # from file content use JSON; use Data::Dumper; open( my $fh, '<', 'json.data' ); $json_text = <$fh>; $perl_scalar = decode_json( $json_text ); print Dumper $perl_scalar;
  • Ok, try again. Lets try with a different example. I run this. /usr/bin/curl -X POST https://api.dropboxapi.com/2/sharing/list_folders --header "Authorization: Bearer ab-X" I get this... {"entries": [{"path_lower": "/shared", "name": "Shared", "shared_folder_id": "dbsfid:blah", "access_type": {".tag": "owner"},…
  • OK, clarification. It literally does nothing, it doesn't print anything at all. What I want to do is list the shared folders, so the swift call is the right one; only it doesn't work for me. The Shared folder is a folder I have shared to user B; I also got user B to share a folder with me. I see neither with this call.…
  • Gregory, Thanks, a step forward; but it is now telling me it is unable to open localhost; which makes perfect sense cause the plan is to run this within an app on an iPad. How can I get this response back without running a web server? Or indeed do I simply ignore this error message and process the return anyway? There…
  • Hi, I am trying to follow this dropbox tutorial; but with success https://blogs.dropbox.com/developers/2013/07/using-oauth-2-0-with-the-core-api/ I tried this call using the parameters shown and it worked, at least tried to redirect me to the localhost. But what does this mean? I simply want to be able to ask a user of app…