I’m confused on how I should send a DM without having to log in to my account. I’ve created my app and want to give any user the ability to write a DM. At this point I’m able to send a DM through the app, but I want to not have the log in link. I’m using passportjs and nodejs.

Sending direct messages requires user authentication (Authentication overview | Docs | Twitter Developer Platform) as per the docs https://dev.twitter.com/docs/api/1.1/post/direct_messages/new