我正在尝试使用spring-social登录facebook,但在登录facebook后我得到了下一个错误:
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
在rest模板类中,在doExecute之后(expanded,method,requestCallback,responseExtractor);出现错误,展开为https://graph.facebook.com/v2.3/oauth/access_token,方法POST。
我的代码来自spring-social-samples,来自github.Maybe问题出在我的facebook开发者帐户中???