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.
198
questions
0
votes
0
answers
214
views
Spring 5 with Spring-social reports java.lang.NoSuchMethodError: org.springframework.web.util.WebUtils.extractFullFilenameFromUrlPath
I have tested Spring 5.0.0.RELEASE to 5.3.4 and all failed with the latest spring social with Facebook login and all reported this error
java.lang.NoSuchMethodError: org.springframework.web.util....
1
vote
1
answer
117
views
Spring Social Login with Broadleaf
I am looking to provide the Facebook and Gmail login on Broadleaf application for which i am referring the below mentioned link
https://www.broadleafcommerce.com/blog/why-your-ecommerce-site-should-...
2
votes
0
answers
6k
views
Login with Facebook: Bad Request. This combination of host and port requires TLS
I have web application which use spring social facebook to login via favebook and register new account. I created Self signed certificate SSL and when I input https://localhost:8001/ its redirect me ...
0
votes
0
answers
31
views
How to log all requests and responses between my application and Facebook with Spring Social?
I use spring-social-facebook library to let user sign in to my application via Facebook and to get some basic information about the user. Looks like spring-social-facebook logs only responses with ...
2
votes
0
answers
442
views
CORS error for a server sent redirect URL for facebook social login
So, I have written a REST API using Spring(java), which is secured using Basic Authentication and also responsible for handling the social-logins. Below is the configuration for facebook login.
@...
0
votes
0
answers
204
views
How to get the access token to a Facebook page from the link with Spring Social?
I have to get a management token from a page from the link provided by the user. Until then I have collected the username of the page as a substring from the provided link and request permission from ...
0
votes
1
answer
91
views
Integrating spring social with native android app
I am developing an android app with Facebook, Twitter logins and custom posts with these providers. But their callback sequence causes instability in my app. I want to transfer login job. I am curious ...
1
vote
0
answers
102
views
Spring social: authentication with Facebook on machines with a load balancer
My site uses spring social (1.1.6.RELEASE) and spring social facebook (2.0.3.REALEASE) to let users to sign in with their Facebook accounts.
Recently, Facebook requires all websites to use HTTPS ...
0
votes
0
answers
54
views
How can I use a JWT properly, to grant access to restricted REST API calls?
I hope not to be duplicating any question, and also not to be asking something too basic.
I´m building a web app in ReactJS, just to get familiar with the framework. I planned to grant access to users ...
4
votes
1
answer
685
views
Spring Social : OAuthException: Response body is incorrect. Can't extract a token from this
Can any one help me on this, please
I get the following exception when I try to parse Facebook token, using spring social
org.scribe.exceptions.OAuthException: Response body is incorrect.
Can'...
0
votes
1
answer
2k
views
Spring social The OAuth2 'state' parameter is missing or doesn't match
I'm developing a spring boot application and I need to use spring social login for facebook. I tried different strategies and tutorials to achieve that, but every time after user is redirected from ...
1
vote
1
answer
155
views
Spring Boot 2 - Where is FacebookAutoConfiguration
I am trying to build facebook application with spring boot 2 and spring social. As I understand Spring Boot v2 pushed away bunch of things.
Where can I find FacebookAutoConfiguration class? Do I ...
3
votes
2
answers
2k
views
Redirect_Uri use http instead of https with Spring social Facebook Login on Heroku
This is Spring MVC application and host on Heroku which has valid ssl certificate.
When I click on the following link from the spring mvc web application
https://www.website.com/auth/facebook
It ...
2
votes
0
answers
303
views
Upgrade to Facebook Graph API v2.7 or higher
I have a Java website that uses Spring Social for integration with Facebook (account registration and sign-in with a Facebook email address). Here is what I have in pom.xml:
<dependency>
&...
1
vote
1
answer
573
views
Spring social Facebook doesn't work in version 2.0.2
Hello everyone when I upgrade my application to spring version 2.0.2 I get this exception:
Description: Field connectionFactoryLocator in com.ssp.api.v1.security.SecurityConfiguration required a ...
0
votes
1
answer
162
views
Spring Social Facebook - exchange auth code for a token
I'm quite new to sprig / spring-social. I'm trying to execute a request to Facebook API from my spring boot (v1.4) application to exchange the auth code (which I get with my front-end app) for an ...
5
votes
2
answers
776
views
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 ...
32
votes
7
answers
7k
views
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 ...
0
votes
1
answer
46
views
How can I custom url to access_denied from SpringSocial Facebook?
In ProviderSignInController we have a method oauth2ErrorCallback.
When the user cancel authorization in facebook this method redirect to:
/signin?error=access_denied&error_description=Permissions+...
2
votes
3
answers
1k
views
why Spring social facebook -2.0.3 using deprecated graph api version 2.5 which is deprecated
We are using spring-social-facebook-2.0.3 latest jar in production environment.
In April 2018 graph api v2.5 is going to shut down. But the spring-social-facebook-2.0.3 latest jar is still using this ...
0
votes
1
answer
140
views
Spring Social losing auth token on redirect
I'm trying to use Spring Social Facebook login along side form login, more or less following the guide here: http://www.baeldung.com/get-user-in-spring-security, only using header-based session ...
0
votes
1
answer
127
views
JHipster Social Login - make email a mandatory field
I just setup the basic JHipster application and set in the FB client ID and secret. However, when I try to login by not sharing the email - I see that it gets redirected to my app with a success. I ...
1
vote
0
answers
309
views
Spring Social Security error
I'm using Spring Social Security in XML notation to authenticate users into my website with Google and Facebook.
Everything works fine but after a couple of hours it stops working and users can't ...
0
votes
1
answer
1k
views
Spring Oauth 2 Facebook Authentication Redirects User To My Home Page
I am trying to redirect a user who have been authenticated to another page other than the home page. I am using spring boot 1.5.6 and Oauth 2. User is authenticated but was redirected to the home page....
0
votes
1
answer
340
views
How to make spring social facebook work on localhost using ngrok tunneling
I want to send a message to my facebook page using my user credentials and using ngrok to make a localhost tunnel so that facebook can reach my machine. However I am still getting a bad request (500) ...
1
vote
1
answer
163
views
Fetch new posts from facebook using Graph API
I am using Graph API to authorize a user with my app to fetch posts from their timeline and from their liked pages.
I'm able to fetch all posts and save them. But, when I fetch again after a period ...
1
vote
0
answers
70
views
Update facebook users profile informations via Graph API
I've created test users in my fb app and I need to personilize their profiles adding work positions, city, phone number, addresses and other informations.
Is it possible to do that programmatically?
...
1
vote
0
answers
229
views
Can't login with another facebook (or google) user in spring social
I'm implementing spring-social-facebook and spring-social-google. So far I've managed to login and logout user, persist it with my DB etc. So everything is working as expected. But when I'm login out ...
1
vote
0
answers
97
views
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 ...
0
votes
0
answers
45
views
spring-social-facebook fixes (maven)
I am currently using spring-social-facebook it works quite fine except a few things which aren't up to date.
I tried to fix it on my own (forked from github and fixed it)
Now after i build the ...
2
votes
1
answer
2k
views
Spring-Social Dependency not found
I wanted to add the spring-social-facebook dependency.
It worked with the latest RELEASE 2.0.3
<dependency>
<groupId>org.springframework.social</groupId>
<...
0
votes
1
answer
345
views
What's the difference between authenticated() and csrf in Spring Security?
I have a web app built using ReactJS + Spring Boot/Social/Security.
I want to make sure when I release it, I'm protected from CSRF. I'm using most of Spring Security out of the box and below is my ...
0
votes
1
answer
1k
views
ReactJS + Spring Social (Facebook) + Redirect back to React after authentication
I have my backend (spring boot) application running on http://localhost:8080
I have my frontend (react js) application running on http://localhost:3000
My front-end SignIn button authenticates with ...
0
votes
2
answers
2k
views
How to update maven dependency in jhipster web application
I am using JHipster for my web application development.
I am using JHipster facebook login feature.
Now I have updated my JHipster version to 4.0.7
so my facebook login is not working.Previous ...
43
votes
3
answers
22k
views
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 ...
0
votes
0
answers
1k
views
URL blocked: This redirect failed because the redirect URI is not white-listed in the app's client OAuth settings. Make sure that the client and web
I am developing spring-social-login using Spring Boot. In this example, I have created App on the https://developers.facebook.com. When I am trying to login using the Facebook into my application, I ...
0
votes
1
answer
1k
views
How to create javax.inject.Provider<MyObject> Using Spring
I am writing an app that uses Springboot / Java 8 in the web tier and runs a Java Application in a worker tier. The worker reads from a message queue. I have common service singletons that are used in ...
0
votes
1
answer
42
views
Managing Facebook object within a Controller
This is a more general Spring question that isn't necessarily a Spring Social Facebook issue; however, I'm asking the question here because it is not clear to me how Spring is managing the Facebook ...
0
votes
0
answers
37
views
Facebook connection serialization
I've written an app based on spring-social-facebook that has a long running process. To avoid timeout issues and scalability issues; the information needed by the long running process is bundled into ...
1
vote
0
answers
694
views
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 ...
1
vote
1
answer
123
views
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<Post> posts = facebook.feedOperations()....
2
votes
1
answer
230
views
Add facebook parameter display=popup when using Spring SocialAuthenticationFilter
I need to display the facebook social login in a popup window.
In order that facebook login dialog is displayed with minimal decoration, I want to add the facebook parameter display=popup.
But I'm not ...
0
votes
1
answer
747
views
Using Facebook Ads API and Spring Social Facebook
I'm developing a SpringBoot application which needs to manage multiple Facebook Ad accounts. I've successfully used the Facebook Java Ads SDK:
https://github.com/facebook/facebook-java-ads-sdk
to ...
1
vote
0
answers
70
views
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 ...
2
votes
1
answer
164
views
Spring Social Login: How to add more than one app of the same social provider (f.e. Facebook)?
My Spring MVC web application is serving simultanously three different web shops with three different domains (let's call them domain1.com, domain2.com and domain3.com).
For each of these shops I ...
0
votes
2
answers
2k
views
Spring social Facebook Profile provides only ID and name
I have an issue with getting parameters others than id and name using spring-social.
Dependencies:
<!-- Spring Social -->
<dependency>
<groupId>org.springframework....
1
vote
1
answer
495
views
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(...
2
votes
1
answer
2k
views
What has happened with the class org.springframework.social.connect.ConnectionRepository in Spring Social 3.0.0.M1?
I am a beginner with the Spring Framework and wanted to try out Spring Social to make a simple web application which retrieves data from Facebook. For this I followed Spring Socials official "Getting ...
3
votes
2
answers
805
views
How to change SocialAuthenticationFilter.filterProcessesUrl when using SpringSocialConfigurer?
The Spring Social SocialAuthenticationFilter processes the url /auth. How can I change this url?
There is a method SocialAuthenticationFilter.setFilterProcessesUrl(String filterProcessesUrl). How can ...
1
vote
0
answers
1k
views
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 ...