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
1
vote
0 answers

Spring Social + build in SignUp and Login

I need to integrate Spring Social in an app and make it work with normal signin and login that use spring security. I've manage to make them work separately, but having trouble to make them work together. To implement only Spring Social Facebook I…
1
vote
0 answers

How to know facebook access token expiry time

I am implementing spring-social-facebook 2.0.3.RELEASE, however I would like to know how to retrieve the access token expiry time? Below is the code to access facebook to fetch user profile, but how to retrieve the access token expiry time? Facebook…
1
vote
1 answer

Spring Social Facebook | Get big photo from feedOperations

When i am executing below code, i am getting only small picture. PagingParameters recordCount = new PagingParameters(2000, null, null, null); PagedList posts = facebook.feedOperations().getPosts(recordCount); Maven…
1
vote
0 answers

How to add implicit spring social sign up for different role

I integrated spring social facebook login and signup in my spring mvc project and its working perfectly without role. In this project I have two role seeker and provider , I want to add implicit social sign up for both role seeker and provider , for…
pop jhalla
  • 11
  • 3
1
vote
1 answer

Spring Social Facebook: Is there a way to get phone number?

Is there a way to get phone number? I am using SpringSocial and Facebook.fetchObjects doesn't seem to have an option String accessToken = "trhhh"; Facebook facebook = new FacebookTemplate(accessToken); String [] fields = { "id",…
1
vote
0 answers

Facebook and spring OAuth2

I have OAuth2(AuthorizationServer) enabled on my spring boot application I wanna authenticate facebook users using REST request when they pass their access token from mobile app. i have controller that receives facebook token @RequestMapping(value…
zalis
  • 1,191
  • 1
  • 11
  • 20
1
vote
1 answer

Spring Boot OAuth2Client - handling facebook login

Good day, I have a spring boot app which is run at: 8080. Basic its function - handle "login/facebook" GET request and do a proper login there. It works well, when request is sent from the same domain (e.g. from http://localhost:8080/help page). It…
1
vote
1 answer

Issues using Spring Social Quickstart example

I'm trying to use the Spring Social Quickstart app from the Github repo, https://github.com/spring-projects/spring-social-samples. I updated the versions in build.gradle and ran the app. A simple page was display with a button, "Sign in with…
Les
  • 487
  • 1
  • 10
  • 22
1
vote
2 answers

How to get a Facebook Page's events with Spring Social

My goal is to retrieve a list of events for a certain Facebook page and user profile. List should only return events in the future. I can't seem to find a way with Spring Social Facebook API. I'm stuck with the following code. Using Spring Social…
Siya Sosibo
  • 338
  • 1
  • 10
  • 23
1
vote
1 answer

Spring Social Google used as Sign in Provider fails with 403 after successful Oauth2 login

I need to use both Facebook and Google as OpenId Sing in providers. I have integrated them with Spring Security using the SocialAuthenticationFilter, as described in the documentation and having a look at the sample app. I have sucessfully…
1
vote
1 answer

Spring social facebook login - sorry, something went wrong

I'm trying to implement facebook login in my spring webapp using org.springframework.boot:spring-boot-starter-social-facebook, However everytime I follow the login flow I get this page at facebook host: Here's my setup: Added appId and…
Ben
  • 3,989
  • 9
  • 48
  • 84
1
vote
0 answers

How to publish an image on a facebook page with spring-social-facebook

I am able to post a text on a Facebook Page via spring-social-facebook with PagePostData PagePostData pagePostData = new PagePostData(configuration.getFacebookPageId()); pagePostData.message("Hello Spring…
Labe
  • 1,262
  • 2
  • 20
  • 30
1
vote
1 answer

Top level redirect at client side Facebook Canvas / X-Frame-Options Deny

I am trying to build Facebook Canvas application using Java/Spring Social Facebook library. When an user first time access the Canvas page(apps.facebook.com/mycanvasapp), facebook is doing HTTP POST with 'signed_request' in the body to my app…
1
vote
1 answer

Implementation for Implicit social signup in spring-boot project

By adding the spring-social signin / signup to my current spring-boot project, through the implementation of the classes ConnectionSignUp and SignInAdapter, the application, after the authorization with the social network website, it's requiring the…
1
vote
1 answer

Spring Social - Facebook integration

I need to integrate spring-social with Facebook, and get the feeds/post from my company page. Code snippet public static void main(String[] args) { Facebook facebook1 = new FacebookTemplate(""); FeedOperations feedOperations =…
Ankur Singhal
  • 26,012
  • 16
  • 82
  • 116