Example code for github

Example code to obtain access_token