$token = null;
$token_secret = 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');
}
-if (have_option('s', 'token_secret')) {
+if (have_option('s', 'oauth_token_secret')) {
$token_secret = get_option_value('s', 'oauth_token_secret');
}