verify_request($req); // lsit back the non-OAuth params $total = array(); foreach($req->get_parameters() as $k => $v) { if (substr($k, 0, 5) == "oauth") continue; $total[] = urlencode($k) . "=" . urlencode($v); } print implode("&", $total); } catch (OAuthException $e) { print($e->getMessage() . "\n