I followed the steps on this site to create a simple spring boot application that accesses facebook data using maven and spring boot.
http://spring.io/guides/gs/accessing-facebook/
which also matches http://www.technicalkeeda.com/spring/spring-social-facebook-integration-example , but in gradle.
The problem I am facing is when I try to run the application, I see that the URL was successfully redirected to "/ connect / facebook", but it does not load facebookConnect.html, instead it gives an error as shown below:
" Whitelabel Error Page
This application does not have an explicit mapping for / error, so you see this as a fallback.
Tue 10 Mar 19:24:41 IST 2015
An unexpected error occurred (type = method not allowed, status = 405). GET request method not supported "
I also tried to use the same code listed on the site, and also used my facebook and appSecret applications in it, which I created by providing a random hostname in the facebook application, but still getting the same error.
I also tried adding an arbitrary hostname that I created in the / etc / hosts file in the windows.
Can someone please help me, why can't I see the .html page that ConnectController should automatically display?
spring spring-boot spring-mvc spring-social spring-social-facebook
user3298833
source share