Brian

Facebook API changes?

10 posts in this topic

Hello all,

Facebook has recently changed their API. I am now getting a failure using BT Login. Using Joomla 3.x.

Failure - Facebook fails loggin in as myself, and gets this message:

Invalid Scopes: publish_stream, offline_access. 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

I have not found a valid solution yet.

Login as normal user:

Simply fails with NO error message, but will not login.

Any ideas of where to start looking would be appreciated.

Dmitry likes this

Share this post


Link to post
Share on other sites

I'm sorry.

I'm always late.

I think that you were saying about BT Social Login or BT Social connect Login because BT Login doesn't relate to FB :D

I guest it is BT Social connect Login, because BT Social Login doesn't have these scope.

We are planning to upgrade the component

Please try to do it by your self to save time

find this line

."&display=popup&scope=email,user_birthday,user_location,email,user_website,user_photos,user_hometown,user_about_me,publish_stream,offline_access";

in file

components\com_bt_socialconnect\controllers\socialconnect.php

Remove publish_stream and offline_access.

:D

Dmitry likes this

Share this post


Link to post
Share on other sites

Hi again.

I reply you on other topic. Please set Error Reporting by Maximum and test the feature again.

If you can't find out anything, please give me your admin account and URL via private message or extensions@bowthemes.com

I will check it.

Share this post


Link to post
Share on other sites

I'm sorry.

I forgot something of BT Social connect, i asked our developer for this problem.

There are some place we use publish_stream and offline_access scope.

The Files we need to edit are:

- administrator\components\com_bt_socialconnect\publishes\

----- facebookgroup\elements\fbconnect.php

----- facebookpage\elements\fbconnect.php

----- facebookprofile\elements\fbconnect.php

administrator\components\com_bt_socialconnect\widgets\

----- login_button\login_button.php

Share this post


Link to post
Share on other sites

Good news, just fixed it. The culprit is here:

httpdocs/components/com_bt_socialconnect/controllers/socialconnect.php

Remove these references:

  • publish_stream,offline_access

and you are golden.

Marcos

Share this post


Link to post
Share on other sites

Hi, the thing is that if you remove publish stream, joomla articles cannot get posted to facebook page. So this is not a solution but a bigger problem.

Creating a channel, going to option tab and selecting Loading Facebook Page shows the below error:

Invalid Scopes: offline_access, 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
 
All 3 above scopes are deprecated from Facebook and cannot be used anymore. So this extension does not work.
 
Is there any update coming ??

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now