Questions tagged [spring-social]

Spring Social is an extension of the Spring Framework that enables applications to connect with Software-as-a-Service providers such as Twitter, Facebook and other OAuth authentication based APIs. Spring Social provides a ready to use OAuth authentication framework for web based applications.

Spring Social is an extension of the Spring Framework that enables applications to connect with Software-as-a-Service providers such as Twitter, Facebook and other OAuth authentication based APIs. Spring Social provides a ready to use OAuth authentication framework for web based applications.

Features:

  • An extensible service provider framework that greatly simplifies the process of connecting local user accounts to hosted provider accounts.
  • A connect controller that handles the authorization flow between your Java/Spring web application, a service provider, and your users.
  • Java bindings to popular service provider APIs such as Facebook, Twitter, LinkedIn, TripIt, and GitHub.
  • A sign-in controller that enables users to authenticate with your application by signing in through a service provider.
  • Much more...

More Information:

Getting Started Guides:

Related Tags:

714 questions
0
votes
2 answers

Is the Spring Social OAuth dance with Facebook secure?

I'm making use of the Facebook Spring Social library. Is the OAuth dance between the Spring Social library and Facebook when connecting secure (against man in the middle attacks etc)? If not, what do I need to do to make it secure? The reason why…
Markus Coetzee
  • 3,384
  • 1
  • 29
  • 26
0
votes
1 answer

Read Facebook Post-related Object with Spring Social

I read all my likes using FQL with Spring Social Facebook here is the method: public List startF(String token){ Facebook facebook = new FacebookTemplate(token); FacebookProfile profile =…
Ivan T
  • 1,046
  • 1
  • 10
  • 22
0
votes
1 answer

MissingAuthorizationException: Getting last tweets

Why is it needed to be authorized when I just want the last 2 tweets? I would like to create a minimal config as I don't need the connection stuff. And as I understand the twitter api it is not necessary to have a consumerKey/consumerSecret for just…
dtrunk
  • 4,685
  • 17
  • 65
  • 109
0
votes
1 answer

Persistent Based Remember-Me for Regular Login in Spring Social Sample

So I want to add a remember-me feature onto the Spring Social Showcase-Sec-XML sample. So I want to make it a persistent-based remember-me however whenever I add the datasource to the remember-me I get an error. This is my code in the…
Kenneth Truong
  • 3,882
  • 3
  • 28
  • 47
0
votes
2 answers

Including a different version of a library, in a maven dependency totally broke my build

So I had org.codehaus.jackson jackson-jaxrs 1.8.3 ${defaultScope} I included this …
NimChimpsky
  • 46,453
  • 60
  • 198
  • 311
0
votes
1 answer

Spring social type mismatch error while twitter API binding

I am following the tutorial to implement a twitter search on Spring framework. Unfortunately, I get an type mismatch error in here: import org.springframework.social.twitter.api.impl.TwitterTemplate; import twitter4j.Twitter; ... Twitter twitter =…
mahsa.teimourikia
  • 1,664
  • 9
  • 32
  • 64
0
votes
1 answer

Spring social linkedin - trouble with org.codehaus.jackson.map.SerializationConfig.withSerializationInclusion

I'm using spring social in my project. I already completed integration with facebook and twitter, but had trouble with linkedin. if I try create connection: Connection connection = connectionFactory.createConnection(accessToken); then I…
Andrey
  • 1
0
votes
0 answers

Spring Social with Liferay

I am currently developing an application in Liferay 6.1 GA2 and I would like to use the Spring Social services. It would be great help if anybody can share some documents, links or sample code. Thanks Gautam
Gautam
  • 3,276
  • 4
  • 31
  • 53
0
votes
1 answer

spring social facebook renew expired token

I'm using Spring Social and Java. When a user's facebook access_token expires is there something I can do programmatically to renew the access_token without requiring the user to log into my web application ? My web application requires…
user794783
  • 3,619
  • 7
  • 36
  • 58
0
votes
1 answer

Using spring social with Wicket

I am trying to implement Facebook login in my wicket application. I was going through Spring social and was wondering before continuing, can it be easily implemented with Wicket as it is some sort of Spring MVC like.
user746458
  • 369
  • 2
  • 13
  • 26
0
votes
1 answer

Problems with accented characters when posting an image

I'm having a problem with Spring Social's Facebook integration while posting a photo with a caption: accented characters are being messed up. If I post anything else, the accents work okay, the problem seems to affect only photo captions. The only…
Haroldo_OK
  • 6,612
  • 3
  • 43
  • 80
0
votes
1 answer

Google oAuth2 API gives a 401 UNAUTHORIZED

I'm trying to implement the Google oAuth2 API for login to my webapp using google credentials via Spring Social. The query to Google is as follows googleConnectionFactory = new GoogleConnectionFactory(myKey, mySecret); oauthOperations =…
Simo L.
  • 321
  • 1
  • 3
  • 20
0
votes
1 answer

Spring Social prepoplating local registeration form with values from provider

I'm trying to pre-populate my local registration with Linkedin Callback. I am getting a NullPointer Exception on the "Email" field when I attempt to register. It is possible that Email Address Field is not accessible with Linkedin but the Class…
user1377822
  • 679
  • 2
  • 11
  • 13
0
votes
1 answer

How to get notified when session expires in spring mvc 3 and servlet 3.0

Using tomcat 7, servlet 3.0, spring mvc3 with spring social, I get my class to listen sessions with; public class AClass implements ApplicationContextAware, HttpSessionListener{ ... public void setApplicationContext(ApplicationContext…
hevi
  • 2,432
  • 1
  • 32
  • 51
0
votes
1 answer

facebook user location fetch via SpringSocial

I have a code to fetch user details In location area I have used this code in controller class model.addAttribute("location",facebook.userOperations().getUserProfile().getLocation()); this error shows in jsp view in the location box. location…
Sudhanshubliz
  • 13
  • 1
  • 1
  • 7