Imago SRLS

Social login don't works with FB & Google

11 posts in this topic

Hello!

I come back with a new problem :unsure:

The BT social connect component don't works.

When I tryed to use it, I get these errors:

FACEBOOK

post-276080-0-82260000-1435959177_thumb.

GOOGLE

post-276080-0-64689200-1435959250_thumb.

My facebook and google apps work properly with similar components (JFB conect) like BT social connect.

You could see it in my website: http://bte.i-mago.org

Thanks!

Share this post


Link to post
Share on other sites

Hello guy,

I'm so sorry about this problem. I'll move your post to BT Social Connect Component topic and our extensions developer - tronghm will help you solve it.

Best regards,

Imago SRLS likes this

Share this post


Link to post
Share on other sites

Hi

Please 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.

And do the same work with these file

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

Thanks

Share this post


Link to post
Share on other sites

HI there.

Please give me your admin account and FTP account via extensions@bowthemes.com.

I will try to set up your website with my application, then i will give you my application setting to compare them.

Thanks

Share this post


Link to post
Share on other sites

I have made the changes but now get the error below when I try and use the facebook login button - any ideas?

Warning: Missing argument 1 for Bt_SocialconnectHelper::loadUserFields(), called in public_html/components/com_bt_socialconnect/helpers/html/social.php on line 148 and defined in public_html/components/com_bt_socialconnect/helpers/helper.php on line 56

Could not get user data. Please try again later

I also had to remove "read_stream" from facebookgroup\elemets\fbconnect.php

Share this post


Link to post
Share on other sites

Hi John

Please open file /components/com_bt_socialconnect/helpers/helper.php

go to line 56

public static function loadUserFields()

change it to

public static function loadUserFields($els = array())

This solution will solve the problem

Share this post


Link to post
Share on other sites

Did we ever find a solution to this problem?  I have followed all advise on these two posts, and still have the same problem with Facebook Login button just refreshing the page when clicked.

Share this post


Link to post
Share on other sites

Hello,

I'm facing the same problem with facebook login.

After enabling "Error Reporting" on my website, and using 2 scenarios:

Scenario 1: Component Options > Social Settings > Facebook Registration Flow > Automatic

Results: The page refreshes and does nothing, with no user registered and/or logged in.

Scenario 2: Component Options > Social Settings > Facebook Registration Flow > Normally

Results: I receive the following:

Notice: Undefined property: stdClass::$id in /components/com_bt_socialconnect/helpers/html/social.php on line 151
Notice: Undefined property: stdClass::$name in /components/com_bt_socialconnect/helpers/html/social.php on line 153
Notice: Undefined property: stdClass::$username in /components/com_bt_socialconnect/helpers/html/social.php on line 154
Notice: Undefined property: stdClass::$email in /components/com_bt_socialconnect/helpers/html/social.php on line 156
Notice: Undefined property: stdClass::$id in /components/com_bt_socialconnect/helpers/html/social.php on line 159
Notice: Undefined property: stdClass::$email in /components/com_bt_socialconnect/helpers/html/social.php on line 760
Notice: Undefined property: stdClass::$username in /components/com_bt_socialconnect/helpers/html/social.php on line 774

Could not get user data. Please try again later.

Twitter and Google Login are working just fine.

Any advice?

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