Snippet used to successfully OAuth into the Linkedin API. Uses python-linkedin, requests, and a local Flask server to grab the authentication token from the preauthorization redirect URL containing the AUTH_CODE.