I am trying to login with facebook, with spring-social, but after of login in facebook I got the next error:
ERROR: org.springframework.social.connect.web.ProviderSignInController - Exception while completing OAuth 2 connection:
org.springframework.web.client.ResourceAccessException: I/O error on POST request for "https://graph.facebook.com/v2.3/oauth/access_token":graph.facebook.com; nested exception is java.net.UnknownHostException: graph.facebook.com
In the rest template class, after doExecute(expanded, method, requestCallback, responseExtractor); appears the error, expanded is https://graph.facebook.com/v2.3/oauth/access_token, method POST.
My code is from spring-social-samples, from github.Maybe the problem is in my account of facebook developer???