Spring Social project not running

懵懂的女人 提交于 2019-12-12 03:37:38

问题


I downloaded the Spring social project from https://github.com/spring-projects/spring-social-samples/tree/master/spring-social-quickstart

When I run the project on Tomcat, after asking for connection and connecting to facebook, the webpage automatically redirects to http://localhost:8080/spring-social-quickstart/signin?error=provider#=

I am unable to understand the error. can anyone help?

//After Debugging It is never executing the method in HomeController.java which extracts the friends and return the next page.


回答1:


Check the followings:

  1. Most probably you are disconnected from Internet. So check your network connectivity.
  2. Ensure you have given correct username and password while connecting to facebook.
  3. Client Id and secret (generally in XML or properties file, you get it when you create your application in facebook / twitter) you use are correct.
  4. Make sure that you have defined a callback url while creating application in facebook / twitter.


来源:https://stackoverflow.com/questions/37583069/spring-social-project-not-running

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!