

Scroll down to the OUTPUT section of the page. In the INPUT section of the page, enter the AppKey found on your app settings page within the Dropbox App Console.ġ1Click the Generate Code button to run InitializeOAuth from the Temboo site. To begin, go to Dropbox > OAuth > InitializeOAuth in the Temboo code generation library. If you only need access to your own account, you can skip ahead to the next section. Click the Generate button in the OAuth 2 section of your app settings page.ġ0In order to access Dropbox accounts other than your own, you will need to complete the OAuth process. Make sure to replace ACCOUNT_NAME with your Temboo account name.ĩIf you will only be needing access to your own account, you can generate an Access Token in the Dropbox App Console. When you're done, click Create app.ĨOn the next page, specify the callback URL below as a Redirect URI. Choose the type of access your application will need: App folder When asked to choose an API, select Dropbox API. If you don't already have one, you can sign up here.ħIf you haven't already, create a Dropbox app in the Dropbox App Console. You can call it whatever you like.ĦYou'll need a free Dropbox account. jar file and select: Build Path > Add to Build Path.ĥAdd a new Java class containing a main method to your project. Refresh the project, then right-click the. If you don't already have an account, you can register for free.ĢCreate a new Java project in Eclipse and add a folder called /libs.ĤCopy the downloaded. We've used Eclipse in our tutorials, but they will work equally well in whatever IDE you are using. For this tutorial you will need Java 1.6 (or later) and a Java code editor. Here we'll show you how to use our Java SDK to upload a file to Dropbox. Let's upload a text file to Dropbox in Java
