/** * Retrieves the request token for Flickr * * @since 5.0 * @access public * @param string * @return */ public function getRequestToken($callback = null) { $token = parent::getRequestToken($this->callback); $obj = new stdClass(); $obj->token = $token['oauth_token']; $obj->secret = $token['oauth_token_secret']; return $obj; }