Related Topics


[Video CMS v4]Facebook login error  (Read 1028 times) Print

1 B


Abraham  May 24, 2015, 09:39:57 PM

When I try to create an account for login with Facebook, there is an error
Code
Invalid Scopes: read_friendlists. 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

Logged



viveo  May 25, 2015, 06:37:24 PM

sorry

Logged


Alexander  May 25, 2015, 09:24:17 PM

Np, just keep an eye on updates.

Logged

Abraham  May 25, 2015, 10:38:37 PM

I installed clean version of PhpVibe, downloaded on 23.05.2015.(the day before yesterday). Do I need to install patches manually or they are in package?

Logged


Alexander  May 26, 2015, 03:43:44 PM

The last patch is commited a week ago, so it's already contained in the release. Every topic has date, and the script has the last version and it's current version in the moderator's first page, it even tells you when it's older than current patch.

Logged

Abraham  May 28, 2015, 12:44:49 PM

Today on 28 may of 2015 I downloaded fresh copy from phpvibe and installed. The problem is still there.
1) Where exactly find patch 18 Removed Facebook's deprecated scopes from the login in /vibe_setts.php?
2) Maybe during this day something has changes on Facebook side, I have seen similar problems on some other sites too, but on newbielink:http://www.videoinedit.com [nonactive] login is normal

Logged


Alexander  May 28, 2015, 04:51:14 PM

1. I'm not sure what you are asking, in vibe_setts.php we did a change, removed that scope from the list of scopes.

Code
//Facebook callback fields(default values, it can be empty)
$conf_facebook['fields'] = 'id,name,first_name,last_name,email';

2. Videoinedit is updated with this change...

Logged

Abraham  May 28, 2015, 05:56:46 PM

//Facebook permissions(default values)
$conf_facebook['permissions'] = 'email,user_status,read_friendlists';

Worked, only if remove read_friendlists. Will it make a problem in future?

Logged


thenutz  June 02, 2015, 12:49:15 AM

Facebook login not working since 1 June
I'm getting these errors
Notice: Undefined index: username in /home/xxx/public_html/callback.php on line 61
Notice: Undefined index: bio in /home/xxx/public_html/callback.php on line 66

Logged


thenutz  June 02, 2015, 01:05:41 AM

I use Facebook app v 2.3

Logged


Alexander  June 02, 2015, 05:32:57 PM

//Facebook permissions(default values)
$conf_facebook['permissions'] = 'email,user_status,read_friendlists';

Worked, only if remove read_friendlists. Will it make a problem in future?

No. We're not using the friends list.

Logged

Alexander  June 02, 2015, 05:33:59 PM

Facebook login not working since 1 June
I'm getting these errors
Notice: Undefined index: username in /home/xxx/public_html/callback.php on line 61
Notice: Undefined index: bio in /home/xxx/public_html/callback.php on line 66


Check your facebook app, not sure if you need some extra settings.
Also, check your callback.php errors, maybe sometimes was enabled (mod_security ?) and kills the page (the return from fb has a lot of url variables)

Logged

smackd40  June 05, 2015, 06:44:48 AM

Make sure you submit the app for review to facebook before using the facebook login or user encounters a permission error when they attempt to register or login with fb.  You can remove the additional settings from your settings file or submit the fb app for review and get approved and hopefully everything will work then.

Logged


Alexander  June 05, 2015, 05:21:10 PM

Make sure you submit the app for review to facebook before using the facebook login or user encounters a permission error when they attempt to register or login with fb.  You can remove the additional settings from your settings file or submit the fb app for review and get approved and hopefully everything will work then.

Hi! Good tips!

Logged

matigemelli  August 26, 2015, 03:35:44 AM

i have this error when i trying to login via facebook

Notice: Undefined variable: user_profile in /home/zopear/public_html/callback.php on line 51

Notice: Undefined index: id in /home/zopear/public_html/callback.php on line 59

Notice: Undefined index: name in /home/zopear/public_html/callback.php on line 60

Notice: Undefined index: username in /home/zopear/public_html/callback.php on line 61

Notice: Undefined index: email in /home/zopear/public_html/callback.php on line 62

Notice: Undefined index: email in /home/zopear/public_html/callback.php on line 65

Notice: Undefined index: bio in /home/zopear/public_html/callback.php on line 66

Notice: Undefined index: gender in /home/zopear/public_html/callback.php on line 67
Error. Please go back

Logged


ValentinoVaio  August 29, 2015, 07:52:08 AM

Check your facebook app, not sure if you need some extra settings.
Also, check your callback.php errors, maybe sometimes was enabled (mod_security ?) and kills the page (the return from fb has a lot of url variables)

Hi I am getting the same error message. email, name... is undefined. I removed friendlist but now i am getting everything is undefined. My app is live and public and settings are fine. I cannot submit the app for review until the login is working fine. Goggle login is working fine. I am not sure what the issue is, do you have any suggestions?

Logged


SoundPiff  September 13, 2015, 11:01:12 PM

has anyone fixed this error? I tried what Mario said in newest post changing from the update but that still didnt work, all same errors and my facebook API is correct. Twitter and Google + same issues it is in the phpvibe coding.

Logged
newbielink:http://www.soundpiff.com [nonactive]


awsjulio  September 14, 2015, 03:43:50 AM

has anyone fixed this error? I tried what Mario said in newest post changing from the update but that still didnt work, all same errors and my facebook API is correct. Twitter and Google + same issues it is in the phpvibe coding.
After following those specific directions Mario provided I got it working. Not interested in Twitter or Google. Only tried it with FB.

Logged


@Mario  September 15, 2015, 06:32:27 PM

has anyone fixed this error? I tried what Mario said in newest post changing from the update but that still didnt work, all same errors and my facebook API is correct. Twitter and Google + same issues it is in the phpvibe coding.

Twitter is deprecated, Google works fine, Facebook works fine with the changes applied.

Logged
Hello!
If you wish to learn how to start coding on the PHPVibe Video CMS head to the blog.

Please use the search before opening a new topic!