我在我的一些PHP页面中使用了https://twitteroauth.com/。我想获得用户访问令牌和访问秘密令牌。我在本页上得到了我的答案:How to get user Access Token and Access Secret with the Twitter API using php如何获取twitter的用户访问令牌?
在两个页面上替换我的使用者密钥和密钥使用者密钥后。我把它上传我的服务器上,但后来我得到了下面的错误,当我打开Twitter的go.php
Fatal error: Uncaught exception `'Abraham\TwitterOAuth\TwitterOAuthException'` with message
'<?xml version="1.0" encoding="UTF-8"?>
<hash>
<error>Desktop applications only support the oauth_callback value 'oob'</error>
<request>/oauth/request_token</request>
</hash> '
in `/home/mediahyp/public_html/tweetme/twitteroauth/src/TwitterOAuth.php:138`
Stack trace:
#0 /home/mediahyp/public_html/tweetme/twitter-go.php(13): Abraham\TwitterOAuth\TwitterOAuth->oauth('oauth/request_t...', Array)
#1 {main} thrown in /home/mediahyp/public_html/tweetme/twitteroauth/src/TwitterOAuth.php on line 138
谁能告诉我这是什么错误呢?我错过了什么或别的东西。
注释 - “twitteroauth.com桌面应用程序只支持oauth_callback值”,Google认为这是最重要的结果。 – ceejayoz