Twitter Card in WordPress
We all want to stay ahead of the game when it comes to social media. One of the ways you can do that is to setup a twitter card so that when you share your posts over Twitter you grab every advantage you can. Here is an example of a Twitter card with one of our Tweets.
I am are going to show you how to setup a Twitter card in WordPress, and validate your URL with Twitter.
Setup Your Twitter Card
First you need to have the WordPress SEO by Yoast plugin installed and running. Then in the WordPress dashboard hover over “SEO” and click into “Social.”
Under the Twitter tab, check the box next to “Add Twitter card meta data.” Make sure you enter your Twitter username. And then you have two options. Summary or Summary with large image. If you have large images on your blog posts, I would suggest using this one. However, if you just want a nice description pulled, then summary works great too. This actually adds more than the normal 140 characters in your tweets. Then press “Save Changes.”
Validate Your Twitter URL for a Twitter Card
We now need to validate your Twitter URL so that the Twitter cards function. So first, go to https://dev.twitter.com/docs/cards/validation/validator. You will have a popup window, go ahead and select the card you are using. For mine I am going to select “Summary Large Image.”
Click on the “Validate & Apply” tab, insert one of your blog post’s URLs and click “Go!”
Click on the “Request Approval” button and fill out the information in the popup window. And then click on “Request Approval.”
Now you just have to wait for Twitter’s approval and you can then start seeing Twitter cards show up for your website.
I received my approval within an hour of applying, however it might take up to two weeks. You will receive an email from Twitter with the confirmation.
And if you aren’t satisfied with the images that Twitter pulls I highly recommend you try the WordPress plugin JM Twitter Cards. As always feel free to leave your comments below.