0

我收到以下错误,我不确定为什么它没有收到令牌。

哇!此页面没有请求令牌。这是我们要求使用您的 Twitter 帐户的应用程序所需的特殊密钥。请返回将您发送到此处的站点或应用程序,然后重试;这可能只是一个错误。

网址:https ://twitter.com/oauth/authorize?oauth_token=

  include_once 'classes/lib/EpiCurl.php';
include_once 'classes/lib/EpiOAuth.php';
include_once 'classes/lib/EpiTwitter.php';
include_once 'classes/lib/secret.php';


if (!isset($_GET['oauth_token'])) $_GET['oauth_token'] = "";
if (!isset($_GET['bm'])) $_GET['bm'] = "";
if (!isset($_GET['next'])) $_GET['next'] = "";
if (!isset($_POST['login'])) $_POST['login'] = "";

$twitterObj = new EpiTwitter($consumer_key, $consumer_secret);
$oauth_token = $_GET['oauth_token'];    

  if($oauth_token == '')
  { 
    $tloginurl = $twitterObj->getAuthorizationUrl();        
}
4

0 回答 0