Sunday, March 8, 2015

Share your website over Twitter with Cards

When sharing a link over Twitter, you may see that a summary is sometime available giving a preview of the website to the viewers.

Did you know that you can have the same result with your website? Twitter has made available metatags that you can integrate into the header of your webpage so the summary will be visible.


Ref: https://dev.twitter.com/cards/overview

Once your tags are in place, you need to validate your website with Twitter:
https://cards-dev.twitter.com/validator

I did set the tags on Crombz.com and you can see the results when Crombz.com is shared.



And if you can use some PHP, you can even create dynamic content like this:



This will make you website look better in social networks, at least on Twitter. Facebook and Google do also use some kind of metatags to achieve the same results.

Making your website ready for social networks is a must. After only a few days, I can already see Crombz.com getting more visitors and being shared over Twitter more than before.


Patrick Balleux