Spring social authorization exception with Facebook

My site suddenly started reporting this error when someone logs into Facebook:

HTTP Status 500 - The operation requires authorization, but the API binding was created without permission.

type Exception report

message The operation requires authorization, but the API binding was created without permission.

Description The server encountered an internal error that prevented it from fulfilling this request.

exception org.springframework.social.MissingAuthorizationException: The operation authorization is required, but the binding was created without the authorization API.

I haven't changed anything lately related to Facebook logging, so why might my site suddenly report this error?

+3


source to share


1 answer


It seems that version 2.2 of the Facebook API (which is used for this kind of thing) is no longer available on 25/3/17: See https://developers.facebook.com/docs/apps/changelog . Consequently, a sudden change in behavior despite no change on my site.



My site is using v1.1.0 of spring-social-facebook library. I suspect this is a problem and that I have to use v2.0.3: http://projects.spring.io/spring-social-facebook/ . However, I don't have the skills to do this further.

+3


source







All Articles