const https = require('follow-redirects').https;https.get('https://untappd.com/oauth/authenticate/?client_id=CLIENTID&response_type=code&redirect_url=REDIRECT_URL', function (response) {console.log('response:', response.responseUrl);}).on('error', function (err) {console.error('ERROR:::', err);});