brain storm
brain storm

Reputation: 31252

unable to get spring-social-showcase-boot working due to facebook scope?

I am following the instructions provided here to get spring-social-showcase-boot running in my local.

This is the error I get when I try to authenticate using facebook. The error is clear that read_stream scope is invalid.

enter image description here

But I am unable to figure where this scope is configured in the spring-social-showcase-boot example.

Any help to fix this would be much appreciated.

Upvotes: 5

Views: 984

Answers (2)

Marcin Kosobucki
Marcin Kosobucki

Reputation: 1

Just change: ./admin/sources/classes/facebook/connect.php: public $extendedPerms = array( 'email', 'read_stream', 'publish_stream' );

to be: ./admin/sources/classes/facebook/connect.php: public $extendedPerms = array( 'email' );

Upvotes: 0

TomLung
TomLung

Reputation: 31

I encountered the same problem. You can change the scopes you request by modifying the 'scope' form field in /src/main/resources/templates/connect/facebookConnect.html.

Specifically I removed 'read_stream' and just had 'email' as the value of that form input.

I hope that helps!

Upvotes: 3

Related Questions