I'm aware that access is returned as X-Access-Level
header in response to API requests. But I noticed read-write
is returned for both Read and Write
and Read, Write and Direct Messages
. So, how do I know if the app has access to Direct Messages
as well?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
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.