This sample code includes a very simple way to get an AccessToken and gets you started very quickly.
- Sign up for a Developer Account
- Setup OAuth
- Create a file
clientConfig.properties
and setup your clientId and clientSecret - Run GetAccessToken and follow the instructions. This create a file
accessToken.properties
that contains an access token! - Run Demo
It is that simple!
The GetAccessToken starts a HttpsServer using a dummy certificate. This means
you will get certificate warnings at localhost
, but these can safely be ignored.