且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何检查应用程序是否可以访问直接消息?

更新时间:2023-12-01 18:47:52

使用 Apigee Twitter 控制台进行测试我得到 x-access-level:read-write-directmessages 作为响应头.为您正在测试的帐户授予的访问令牌可能没有授予 DM 访问权限.尝试撤销访问令牌并重新授权.

Testing with the Apigee Twitter console I get x-access-level: read-write-directmessages as a response header. The access token granted for the account you are testing likely doesn't have DM access granted. Try revoking the access token and authorizing it again.