Cannot loginto Facebook for photo import - they have recently changed their tags.
The error I get is:
"Invalid Scopes: offline_access, publish_stream, photo_upload. 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/fa ... ermissions"
Will there be an update to address this soon?
Facebook login
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Facebook login
Hi, thank you very much for the info, I will take a look at it as soon as possible.
Jan
Jan
If you find Phoca extensions useful, please support the project
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Facebook login
I will change it in next version, for now you can do quick fix in (Phoca Gallery 4.1.2):
administrator\components\com_phocagallery\libraries\phocagallery\facebook\fb.php
line cca 108
FROM:
TO:
Jan
administrator\components\com_phocagallery\libraries\phocagallery\facebook\fb.php
line cca 108
FROM:
Code: Select all
$loginUrl = $facebook->getLoginUrl(array('req_perms' => 'user_photos,user_groups,offline_access,publish_stream,photo_upload,manage_pages', 'scope' => 'user_photos,user_groups,offline_access,publish_stream,photo_upload,manage_pages', 'cancel_url' => $uri->toString(), 'next' => $uri->toString()));Code: Select all
$loginUrl = $facebook->getLoginUrl(array('req_perms' => 'user_photos,user_groups,manage_pages', 'scope' => 'user_photos,user_groups,manage_pages', 'cancel_url' => $uri->toString(), 'next' => $uri->toString()));If you find Phoca extensions useful, please support the project
-
awar
- Phoca Newbie

- Posts: 5
- Joined: 22 Jul 2015, 13:02
Re: Facebook login
This sistem not work. user_groups have problem to connect with facebook API. 
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Facebook login
Hi, did you test it with Phoca Gallery 4.2.0? I am testing now without any problem 
Jan
Jan
If you find Phoca extensions useful, please support the project
-
awar
- Phoca Newbie

- Posts: 5
- Joined: 22 Jul 2015, 13:02
Re: Facebook login
I'm not undestand. Why i have problem whit user_group. I can't connect with facebook whit this problem.
- Jan
- Phoca Hero

- Posts: 49144
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Facebook login
Hmm, unfortunately I cannot say why as I am not Facebook developer. Didn't you find any information about this problem on FB pages. I have contacted two users who had problems with the old parameters and now it is working for them OK, so for now I really cannot say what can be wrong there 
If you find Phoca extensions useful, please support the project