//$this->_importEnabled = true; // This plugin has a method to transfer existing facebook connections over to JFBConnect
}$this->_importEnabled = true; // This plugin has a method to transfer existing facebook connections over to JFBConnect
}
public function jfbcImportConnections()
{
// Get original EasySocial connections
$query = 'SELECT * FROM #__social_oauth WHERE `client`="facebook" AND `type`="user"';
$this->db->setQuery($query);
$esConnections = $this->db->loadObjectList();
$userMapModel = JFBCFactory::usermap();
foreach ($esConnections as $es)
$userMapModel->map($es->uid, $es->oauth_id, 'facebook', $es->token);
}
public function socialProfilesGetRequiredScope($network) <---- this line is already thereJoin our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
