say*_*iam 6 twitter android twitter4j twitter-oauth
logcat的:
12-05 23:37:01.721:W/System.err(534): 401:Authentication credentials (https://dev.twitter.com/docs/auth) were missing or incorrect. Ensure that you have set valid conumer key/secret, access token/secret, and the system clock in in sync.
12-05 23:37:01.721: W/System.err(534): 401:Authentication credentials (https://dev.twitter.com/docs/auth) were missing or incorrect. Ensure that you have set valid conumer key/secret, access token/secret, and the system clock in in sync.
12-05 23:37:01.721: W/System.err(534): error - Read-only application cannot POST
12-05 23:37:01.721: W/System.err(534): request - /1/statuses/update.json
Run Code Online (Sandbox Code Playgroud)
虽然我可以通过(getScreenName()函数)读取屏幕名称并设置读取,写入我的twitter应用程序的权限,但它给出了上面的logcat.And我正在使用twitter4j jar文件.
tho*_*mas 24
所有以前发布的解决方案都不再起作用。这是当前的解决方案:
Ben*_*ier 13
Settings选项卡中,将更Application type改为Read, Write and Access direct messagesReset keys选项卡中,按下Reset按钮,相应地更新应用程序中的使用者密钥和密码.看起来重置键会强制更改应用程序类型以使其生效.
| 归档时间: |
|
| 查看次数: |
4038 次 |
| 最近记录: |