Where do I get the clientID? I tried the App key but get an Error (400)
"Invalid redirect_uri. It must exactly match one of the redirect URIs you've pre-configured for your app (including the path)"
On my App Dropbox console I do not see any clientID or any other field with "client" in it.
I see an OAuth2 section with a place for a "Redirect URI's" but I have no idea what goes there. I can request an access token there but it explicitly says the token is to give access to MY Dropbox which is not what my app needs.
Does Dropbox no longer allow an app to create and access an App folder which is what the top part of the console page is about? Is that why I am getting no response to my question about where does the App key and App secret go because they are no longer supported in V2?
Update:
From the Dropbox V2 migration guide it says the following.
"If your app has either App Folder or Full Dropbox permission, you will be able to use the same app key(s) in v2."
Since I am using "App Folder" permission I should be able to use my current key (and secret??).
======================================================
I added a Redirect URI of
http://127.0.0.1/ and I now get the Sign in to Dropbox page for my app.
So in summary:
1. App key no longer needs to be put in the Manifest file.
2. App secret is not used anymore.
3. The clientID is the App key.
4. The Redirect URI must be set to
http://127.0.0.1
5. Leave accesstoken blank (i.e. dbx.Initialize(Me,"DropBox","",True))
=============================================
The example app crashed after I logged into my Dropbox but I probably need to make some additional changes to the example to get it to work.
Finally progress. Thanks for the updated example.