title: passport-facebook Failed to obtain access token
body: <p>I am trying to register my users with Facebook using <code>passport-facebook@1.0.3</code> following <a href="https://github.com/tutsplus/passport-social.git" rel="nofollow">this example</a>. My problem is that when the user is authenticated the response is:</p>
  
  <blockquote>
    <p><strong>Failed to obtain access token</strong></p>
    
    <p>Error: getaddrinfo ENOTFOUND at
    Strategy.OAuth2Strategy._createOAuthError
    /home/sigfried/github/passport-social/node_modules/passport-facebook/node_modules/passport-oauth2/lib/strategy.js:348:17)</p>
  </blockquote>
  
  <p>I've checked my Express routes and everything seems to be fine. I checked the Network methods with Firefox and when the response come back to my server I've noticed an <strong>500 Internal Server Error</strong> with this address: <code>http://localhost:3000/login/facebook/callback?code=L4rg3H4sh#_=_</code></p>