updateConsumer($_POST, $user_id, true);
$c = $store->getConsumer($key, $user_id);
echo 'Your consumer key is: ' . $c['consumer_key'] . '
';
echo 'Your consumer secret is: ' . $c['consumer_secret'] . '
';
}
catch (OAuthException2 $e)
{
echo 'Error: ' . $e->getMessage() . '
';
}
}
$smarty = session_smarty();
$smarty->display('register.tpl');
?>