Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error Invalid Scopes: offline_access, publish_stream, when I try to connect with Facebook API

I got this error when I try to connect with Facebook API

Invalid Scopes: offline_access, publish_stream. This message is only shown to developers. Users of your app will ignore these permissions if present. Please read the documentation for valid permissions at: https://developers.facebook.com/docs/Facebook-login/permissions

Before I can connect my website with my Facebook account without problem and today I got the error above, the app is in my Facebook account when I use other Facebook account users of my app I can connect to my website without problem.

like image 712
Hassane Nassiri Avatar asked May 06 '15 11:05

Hassane Nassiri


2 Answers

The permissions offline_access and publish_stream are deprecated, thus cannot be requested anymore.

publish_stream can be replaced by publish_actions, offline_access is gone.

See

  • https://developers.facebook.com/docs/facebook-login/permissions/v2.4#reference
  • https://developers.facebook.com/docs/apps/changelog
like image 88
Tobi Avatar answered Oct 22 '22 09:10

Tobi


Just use publish_actions instead of publish_stream.

like image 11
lukyer Avatar answered Oct 22 '22 09:10

lukyer