Frage

I'm using Play! 2.0.4 with SecureSocial to handle Facebook connect.

With an account that was successfully connecting some days ago, Facebook answers the server with an error, which is thrown here :

https://github.com/aogriffiths/securesocial/blob/master/module-code/app/securesocial/core/providers/FacebookProvider.scala#L65

The error :

{"error":{"message":"Cannot call API on behalf of this user","type":"OAuthException","code":200}}

I thought the token has expired. But a new one is generated at each try to connect.

How can I handle this error ?

Cordially, Julien

War es hilfreich?

Lösung

To make it acceptable here my answer from the comments:

These messages are sometimes due to breaking changes somewhere on the Facebook roadmap. Be sure to check all the changes for the current month and your app settings if you have enabled/disabled any of them.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top