require_once INSTALLDIR . '/extlib/OAuth.php';
$shortoptions = 't:s:u:';
-$longoptions = array('oauth_token=', 'token_secret=', 'update=');
+$longoptions = array('oauth_token=', 'oauth_token_secret=', 'update=');
$helptext = <<<END_OF_VERIFY_HELP
oauth_post_notice.php [options]
$token_secret = null;
$update = null;
-require_once INSTALLDIR . '/scripts/commandline.inc';
+require_once INSTALLDIR . '/scripts/commandline.inc.php';
if (have_option('t', 'oauth_token')) {
$token = get_option_value('t', 'oauth_token');