Jump to content

Проблема с авторизацией с помощью Facebook


Feen41
 Share

Recommended Posts

Создав приложение для авторизации на ФБ подключил его к форуму, но при авторизации вылетает "Invalid Scopes: read_stream, publish_stream". Я не могу понять где решать проблему. Может устаревшие скоупы в модуле авторизации или не правильно настроено само приложение в ФБ.

Если кто сталкивался - напишите где искать.

 

Invalid Scopes: read_stream, 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

Link to comment
Share on other sites

publish_stream и read_stream is deprecated.

 

Открыть admin\sources\classes\facebook\connect.php

Найти

 

public $extendedPerms = array( 'email', 'read_stream', 'publish_stream' );

Заменить на

 

public $extendedPerms = array( 'email', 'user_status', 'publish_actions' );

  • Upvote 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...