Prerequisites for this code sample:
- Java 1.6
- Apache Maven (http://maven.apache.org)
Before running the sample, client_secrets.json must be populated with a
client ID and client secret. You can create an ID/secret pair at:
https://code.google.com/apis/console
To build this code sample from the command line, type:
mvn compile
To run the code sample from the command line, enter the following:
mvn exec:java -Dexec.mainClass="FULL_CLASS_NAME"
For more instructions about how to set up Maven and/or your IDE to run
YouTube API samples, see this video:
http://youtu.be/pb_t5_ShQOM