/** * Sets the OAuth consumer key and secret (App key) * * @param string $key OAuth consumer key * @param string $secret OAuth consumer secret * * @return void */ public static function setConsumerKey($key, $secret) { self::$_oauth_consumer_key = $key; self::$_oauth_consumer_secret = $secret; }