Here's the code: 

Note: the code is only displayed here for the purposes of this tutorial. Normally, you wouldn't use the code in this way; you'd pull the code from the URL and then use it to Request access/refresh tokens.