How to store twitter oauth details in mysql database?
问题 I am developing a basic twitter oauth app! Here's the code - $twitterObj = new EpiTwitter($consumer_key, $consumer_secret); $oauth_token = $_GET['oauth_token']; if($oauth_token == '') { $url = $twitterObj->getAuthorizationUrl(); echo "<div style='width:200px;margin-top:200px;margin-left:auto;margin- right:auto'>"; echo "<a href='$url'>Sign In with Twitter</a>"; echo "</div>"; } else { $twitterObj->setToken($_GET['oauth_token']); $token = $twitterObj->getAccessToken(); $twitterObj->setToken(