Hello. I have assumed that the best way of making a user in my website post a tweet with an image is with a Twitter Card. If I am wrong, it would be great to know which one is the best option instead.
I’m new to Twitter Cards, and don’t really get how do they work. I have my website with all the meta tags needed for a Large Image Twitter Card, but… how do I make a button (or link, or whatever) able to create the pop up with the Twitter Card content? Do I have to type some href? I really don’t know, and any help would be appreciated.
My intentions are:
- Once you click a button in my website, open a popup with a text and an image (i guess that would be the content set in the meta tags).
- Call a callback function once the user shares the content on Twitter (with my web as context, obviously).
Thank you in advantage.