For further actions, you may consider blocking this person and/or reporting abuse
This community will be migrating to a dedicated subforem in the near future. We are excited to announce a new take on the CodeNewbie Community soon! Email support@forem.com if you have any questions.
It is easy to make a button that takes the user to Twitter with a prefilled message. As I discussed and Twitter docs recommend
developer.twitter.com/en/docs/twit...
If you want more control (like the user doesn't leave your app, or they upload an image) it gets a lot more complicated.
You need to make a dev application from your twitter profile which can take a few days michaelcurrin.github.io/python-twi...
And it is not safe to use your Twitter credentials in a frontend app because of abuse so then you need an API Node server or Lambda (ie something not running on the browser) so you can tweet on behalf of the user while keeping your secrets secret.
If you only have a frontend React app with no Node server, then the effort to set up one just to Tweet for people may not be worthwhile.