public static function getInstance($appsecret, $appkey, $callback) { if (self::$_instance === null) { self::$_instance = new self($appsecret, $appkey, $callback); } return self::$_instance; }