public function init()
{
if ($this->appId === null) {
throw new InvalidConfigException('The appId property must be set.');
} elseif ($this->appSecret === null) {
throw new InvalidConfigException('The appSecret property must be set.');
} elseif ($this->token === null) {
throw new InvalidConfigException('The token property must be set.');
}
}