Reputation: 31252
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.
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
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
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