I am developing an analytical web app and I would like to allow my users to tweet out dynamically generated images (html canvas elements exported as images) along with some prefilled text from his own profile. As far as I managed to figure out, the way to do this is whenever the user clicks on the “tweet” button the app has to open a new window with the newly created meta tags containing the generated information.
My concerns are: Is that the most optimal way of doing this? Will the information be scraped and visible immediatelly? How do I validate my website to share dynamic images (cards)? How do I test this locally (localhost)? Is there some sort of example since I do not know how to integrate the API Tools in the application?
Thank you in advance!