The use case you describe seems to match our Tweet Web Intent product.
https://dev.twitter.com/web/tweet-button/web-intent
Set query parameters for pre-populated highlighted text, share a URL, define hashtags, and attribute the Tweet to your website’s Twitter username. The link destination operates in the user’s browser using their browser’s logged-in Twitter state. Adding Twitter’s widgets JavaScript to your page will provide child window handlers and Tweet events.