I got it
For those who need it:
// load apps library
$apps = FD::getInstance('Apps');
// get giving app data
$appTable = FD::table('App');
$appTable->load(array('element' => 'giving', 'group' => 'user'));
/**
* Note: element and group is a column in the #__social_apps table
* The values are defined in the app xml file
*/
// get giving app object
$app = $apps->getApp( $appTable );
// get giving app parameters
$this->params = $app->getParams();
I wish there is a shorter version of getting the app object or maybe there is one (please let me know). If only $this->app is visible in the App Model class.
Thanks,
Jackson