Questions tagged [spring-social-facebook]

Spring Social Facebook is a module within the Spring Social family of projects that enables you to connect your Spring application with the Facebook Graph API.

Spring Social Facebook is a module within the Spring Social family of projects that enables you to connect your Spring application with the Facebook Graph API.

Features:

  • A service provider and connection factory for use with Spring Social's connection framework
  • A Java API binding for Facebook's Graph API
  • A real-time update controller for handling real-time update callbacks from Facebook
  • A disconnect controller to handle disconnect callbacks from Facebook
  • Much more...

More Information:

Getting Started Guides:

Related Tags:

199 questions
46
votes
4 answers

App domains must match the domain of the Facebook Web Games URL (https), Mobile Site URL, Unity Binary URL, Site URL or Secure Page Tab URL

I am developing Spring Boot + Facebook Integration example. In this example, I've created an at app https://developers.facebook.com/. The screen shot of the created app shown below. Also when I was passing the Domain name I am getting the below…
user5778069
32
votes
7 answers

Facebook Graph API rejects newly created access token

Earlier today, the Facebook login flow of our web application stopped working for some users. When we try to fetch the current profile, an error is returned. It claims that the access token we just generated by redirecting the user to the OAuth…
Thomas
  • 2,231
  • 1
  • 19
  • 27
32
votes
9 answers

Error message is (#12) bio field is deprecated for versions v2.8 and higher

I used version 2.0.3.RELEASE of spring-social-facebook and Facebook app api v2.8. I called Facebook login but returned this message. "(#12) bio field is deprecated for versions v2.8 and higher" How can i fix this?
Anselm Kim
  • 343
  • 1
  • 3
  • 6
18
votes
2 answers

Spring Social Facebook: "The OAuth2 'state' parameter doesn't match"

I am using Spring Social Facebook within a Spring MVC project to support Facebook login. This is working well in almost all cases, but occasionally I see the following exception in the logs. ERROR…
ba0708
  • 10,180
  • 13
  • 67
  • 99
16
votes
1 answer

Facebook Login with Spring Social using Existing User Access Token

Here's what I currently have: Spring REST service where many of the APIs require the user to be authenticated A 'registration' API (/api/v1/register) A 'login' API that takes username/password (/api/v1/login) 'Facebook Login' API that relies on…
AlexG
  • 1,596
  • 2
  • 17
  • 26
9
votes
3 answers

What could cause the original 'OAuth2' state parameter to be null in org.springframework.social.connect.web.ConnectSupport?

I am trying to use Spring Social on my application and I noticed while debugging that the original 'OAuth2' state parameter is always null on my app. See Spring Social source code for org.springframework.social.connect.web.ConnectSupport…
balteo
  • 23,602
  • 63
  • 219
  • 412
7
votes
2 answers

Location not populated on Spring Social Facebook

I'm trying to get user location in Spring Social Facebook: Facebook fb = ((Facebook) connection.getApi()); Page pg = fb.pageOperations().getPage(fb.userOperations().getUserProfile().getLocation().getId()); The problem is that pg.getLocation()…
Adrian Ber
  • 20,474
  • 12
  • 67
  • 117
7
votes
2 answers

Spring Social: "Unable to get a ConnectionRepository: no user signed in"

I'm trying to use Facebook sign in as described in https://github.com/spring-guides/gs-accessing-facebook When I'm trying to create JdbcUsersConnectionRepository, I need spring security in class path. And when I add spring security I…
7
votes
4 answers

Spring social facebook login error - Numeric value out of range of int

I have a problem using Spring Social, when I tried to login to Facebook, I get the following…
7
votes
1 answer

Converting Json to java objects using Google's Gson

I am using Spring Social FqlQuery to get data's from facebook. Here is the JSON response I am getting from facebook. My controller where i am getting Json output is here, fql = "SELECT work FROM user WHERE uid =…
Vignesh Gopalakrishnan
  • 1,962
  • 9
  • 31
  • 53
6
votes
1 answer

Spring Social Authentication Filter for Stateless REST Endpoints which use Facebook Token for authentication

I would like to use Facebook Tokens for authenticating my REST backend using Spring Security. Could you please elaborate how I can integrate this security to my Spring Application. I would like to use the same user management as Spring Social…
Ozgen
  • 1,072
  • 10
  • 19
6
votes
3 answers

Working example of Spring Social Facebook login except the sample applications on github

Please can somebody share links of working example of Spring Social Facebook login except the sample applications on git hub that are provided by Spring Social people themselves. Especially if there is any sample code without the use of a database…
6
votes
3 answers

spring social facebook + api + angularjs (How to call from angular -> spring api -> redirect to facebook login)

It might be just angularjs issue! I am very new to the frontend and angularjs. I have an angularjs sign in service which calls the url '/signin/facebook/' to sign in, it seems the backend is redirected correctly and calling the facebook oauth but I…
Jaxox
  • 960
  • 4
  • 14
  • 25
5
votes
2 answers

How to sign up new user via Spring Social Facebook?

I am having a website (Angular App) which I can reach on https://localhost:4200 and a server (pure REST API) that is on https://localhost:8443. Since the REST endpoints are secured, a user must login on my server. Obviously I want users to be able…
Stefan Falk
  • 23,898
  • 50
  • 191
  • 378
5
votes
2 answers

Spring Social Facebook: How to get big photo from Post?

The Post object has a property getPicture(). This contains an url to a very small (130 × 130) image. How to get the big picture of a Facebook post? Sample…
Roel
  • 3,089
  • 2
  • 30
  • 34
1
2 3
13 14