Bearer token for Message attachments



In the environment i’m working, unable to pass oauth 1 credentials (client id, secret, access token and token secret ). So, I have generated a bearer token using client id and client secret. I read in the documentation that bearer token can only work for “Application-only authentication”. I’m not able figure out if message attachments can be accessed through bearer token or not. Can anyone please confirm ?

Thanks & Regards,


No, bearer tokens will not work with Direct Messages. You need the user token and secret.


Thanks Andy for confirming :slight_smile:

closed #4