Based on this answer, I edited this file:gorneman wrote:With new API 2.3 , offline_access,publish_stream and photo_upload are deprecated. They have to be changed with new ones (ex. publish_stream with publish_actions)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()));
administrator\components\com_phocagallery\libraries\phocagallery\facebook\fb.php
Aproximately on line 108 (Phoca 4.1.2) I replaced the existing line with:
$loginUrl = $facebook->getLoginUrl(array('req_perms' => 'user_photos,user_groups,publish_actions,manage_pages', 'scope' => 'user_photos,user_groups,publish_actions,manage_pages', 'cancel_url' => $uri->toString(), 'next' => $uri->toString()));
Now the facebook's login and import works fine. I don't know what other things this could break, but import is what I need


