可我知道现在还有没有在春季安全与Facebook整合的任何教程/ guideliness连接春季安全与Facebook整合连接
5
A
回答
1
7
在SpringSource的家伙都推出了“春秋社会'在处理任何社交API(包括脸书)时值得关注。见http://www.springsource.org/spring-social
2
春季社交很棒,但只适用于Spring Framework 3.0+。所以,看你的春季版本,因为我想两天弄清楚如何使弹簧社会与Spring框架2.5工作;)
0
您可以使用facbook图形API请求用户信息和比对其进行分析是这样的:
JSONObject resp = new JSONObject(content);
String facebookid = resp.getString("id");
String firstName = resp.getString("first_name");
String lastName = resp.getString("last_name");
String email = resp.getString("email");
String phone = resp.getString("mobile_phone");
JSONObject address = resp.getJSONObject("address");
String street = address.getString("street");
String city = address.getString("city");
String zip = address.getString("zip");
String state = address.getString("state");
String country = address.getString("country");
当你有字符串调用你的注册方法应该很容易。比你只需要自动认证他们。
我已经张贴了关于这个在这里更多的细节: Facebook Connect example in JSP (tomcat)
1
相关问题
- 1. 春季安全与支柱整合
- 2. 春季安全LDAP连接
- 3. 春季社交 - Facebook整合
- 4. 春季安全到用户JPA连接
- 5. 春季安全
- 6. 春季安全链和Facebook使用春季社交
- 7. AccessDeniedException;春季安全
- 8. 春季安全badcredentials
- 9. Vaadin春季安全
- 10. BCryptPasswordEncoder春季安全
- 11. 春季3.5安全
- 12. 从春季安全
- 13. 春季安全春季启动4.x
- 14. 春季安全3与LDAP和TokenBasedRememberMeServices
- 15. 春季安全4.x的JavaConfig与Hawtio
- 16. 春季安全与卡桑德拉 - TimedOutException
- 17. 春季安全SAML与wso2 IS
- 18. 春季连接池
- 19. 安全注释在春季安全
- 20. 春季安全hasIpAddress问题
- 21. 春季安全spnego ldap jwt
- 22. 春季安全实例
- 23. CSRF令牌春季安全
- 24. 春季安全大气
- 25. 春季安全无密码
- 26. 春季云流安全
- 27. 春季安全3 + JCIFS ntlm
- 28. 春季安全CSRF保护
- 29. 春季安全角色
- 30. 春季安全:Autowired userDetailsService