Dropbox

To create a Dropbox App with App Key, App Secret, and set Redirect URIs, follow this full step-by-step guide:


✅ Step 1: Create a Dropbox App

  1. Go to: Dropbox App Console
  2. Click on “Create App”.
  3. Choose:
    • Scoped access (recommended)
    • Full Dropbox or App Folder, depending on access needed.
  4. Give your app a name (e.g. MyWebsiteUploader)
  5. Click Create App

✅ Step 2: Get App Key and App Secret

After the app is created:

  • You’ll be redirected to the app’s settings page.
  • Under the Settings tab:
    • You’ll find your App key
    • Click Show next to App secret to reveal the App secret

✅ Step 3: Set Redirect URIs

To avoid redirect_uri mismatch errors, you must add your redirect URL exactly.

  1. Scroll to OAuth 2 > Redirect URIs
  2. Add your redirect URL here.

or your production URL, like:

https://yourdomain.com/wp-admin/admin.php?page=next3aws&action=dropbox_auth

✅ Press Add, then Save Changes


✅ Optional: Testing Locally

If testing on localhost Make sure the URL:

  • is entered exactly in Dropbox App Console
  • uses http (Dropbox accepts http for localhost only)

Let me know if you’d like full code for the OAuth 2.0 token exchange process, file upload, or public file link generation.


Next

Leave a Reply