How can I use hashtags in Twitter cards (meta tags)?


#1

I use Twitter Cards in my site and by using Meta tag.

<html>
<meta name="twitter:card" content="summary">
<meta name="twitter:domain" content="domain.com">
<meta name="twitter:site" content="@user">
<meta name="twitter:creator" content="@user">
<meta name="twitter:image" .....
</html>

and Now I wanna use Hashtags in meta tags for Twitter Cards, how can I do this?

thanks


#2

Hi Mehrdad,

I’m happy to help. What are you trying to accomplish, so I know how I can help?

Generally, #hashtags are stuff you put in the tweet, not necessarily in the Card.

Thanks!


#3

I know this is a very old post, but I’d like to resurrect the idea. Basically I’d like to be able to make it so when a user inserts my card (posts a link to my page) that I can make that post behave as if it has a certain hashtag. For example, if they post a link to my article about Michael Jackson, and don’t include the #MichaelJackson hashtag, I can include it so the post still shows up for their followers that search for #MichaelJackson


#4

If you use a Tweet button from your page you can add anything you like in the text parameter to pre-populate the Tweet box. There’s no support for having this happen from within a Card though.