/**
  * Builds the facebook API if we need it
  */
 public static function buildFacebook()
 {
     if (!self::$Facebook) {
         self::$Facebook = new Facebook(Configure::read('Facebook.api_key'), Configure::read('Facebook.secret'));
     }
 }
 /**
  * Builds the facebook API if we need it
  */
 public static function buildFacebook()
 {
     if (!self::$Facebook) {
         self::$Facebook = new Facebook(array('appId' => Configure::read('Facebook.appId'), 'secret' => Configure::read('Facebook.secret')));
     }
 }