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