2 require_once 'common.inc.php';
5 $req = OAuthRequest::from_request();
6 list($consumer, $token) = $test_server->verify_request($req);
8 // lsit back the non-OAuth params
10 foreach($req->get_parameters() as $k => $v) {
11 if (substr($k, 0, 5) == "oauth") continue;
12 $total[] = urlencode($k) . "=" . urlencode($v);
14 print implode("&", $total);
15 } catch (OAuthException $e) {
16 print($e->getMessage() . "\n<hr />\n");