This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Setup
Gherynos edited this page Oct 10, 2012
·
4 revisions
In order to work Drive Copy needs three information:
- Client ID
- Client Secret
- Authorization code.
The application will ask to insert them via console the first time it tries to reach Google Drive.
The three information, after inserted, will be stored in a configuration file called drivecopy.properties
.
- Create an API project in the Google APIs Console.
- Select the Services tab in your API project, and enable the Drive API.
- Select the API Access tab in your API project, and click Create an OAuth 2.0 client ID.
- In the Branding Information section, provide a name for your application (e.g. "Drive Copy"), and click Next. Providing a product logo is optional.
- In the Client ID Settings section, do the following:
- Select Installed application for the Application type.
- Select Other for the Installed application type.
- Click Create Client ID.
- In the API Access page, locate the section Client ID for installed applications and note or copy the two pieces of information you'll need later: the
Client ID
and theClient Secret
.
(steps taken from Google Drive SDK quickstart)
- After Client ID and Client Secret has been inserted, the application will show an URL.
- Enter the URL in a browser and eventually login to Google.
- Authorize the application.
- Copy the response code from the webpage and paste it in the console.