mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-09-03 04:26:12 +08:00
Upgrade to Spring Social Facebook 2.0.1.RELEASE
While this is a breaking change, continuing with Spring Social Facebook 1.1.x is also broken as it is no longer compatible with Facebook's API. Upgrading to 2.0.1.RELEASE may require some changes to be made to users' applications, but it will allow their applications to use the Facebook API once again. Closes gh-2837
This commit is contained in:
parent
1cc0b19f29
commit
88d72e0598
@ -70,7 +70,7 @@ public class FacebookAutoConfiguration {
|
||||
public Facebook facebook(ConnectionRepository repository) {
|
||||
Connection<Facebook> connection = repository
|
||||
.findPrimaryConnection(Facebook.class);
|
||||
return connection != null ? connection.getApi() : new FacebookTemplate();
|
||||
return connection != null ? connection.getApi() : null;
|
||||
}
|
||||
|
||||
@Bean(name = { "connect/facebookConnect", "connect/facebookConnected" })
|
||||
|
@ -124,7 +124,7 @@
|
||||
<spring-security.version>3.2.7.RELEASE</spring-security.version>
|
||||
<spring-security-jwt.version>1.0.3.RELEASE</spring-security-jwt.version>
|
||||
<spring-social.version>1.1.0.RELEASE</spring-social.version>
|
||||
<spring-social-facebook.version>1.1.1.RELEASE</spring-social-facebook.version>
|
||||
<spring-social-facebook.version>2.0.1.RELEASE</spring-social-facebook.version>
|
||||
<spring-social-linkedin.version>1.0.1.RELEASE</spring-social-linkedin.version>
|
||||
<spring-social-twitter.version>1.1.0.RELEASE</spring-social-twitter.version>
|
||||
<spring-ws.version>2.2.1.RELEASE</spring-ws.version>
|
||||
|
Loading…
Reference in New Issue
Block a user