News!! How To Gear Upwards Twitter's Persuasion Summary Cards To Endure Amongst Blogger Posts

This article shows how to install Twitter Cards into Blogger - together with explains why you lot mightiness practice this if Twitter could live on an of import rootage of visitors for your blog.


What are Twitter Cards

Recently, Neil Patel explained why having social sharing tags installed into your weblog tin live on important, together with I've written a petty to a greater extent than virtually it specifically for Facebook together with Blogger here.

Twitter, for reasons best known to themselves, direct keep developed their ain version of explained why having social sharing tags installed into your weblog tin live on important, together with I've written a petty to a greater extent than virtually it specifically for Facebook together with Blogger social media meta-tags, called "Twitter Cards".    (Apparently they practice brand some usage of Open Graph tags - but non for Twitter cards displays.)


Two things reach within Twitter when someone tweets a message including a link to a website or weblog that has Twitter-cards installed.  

Firstly, the message has the words "View Summary" nether it, instead of only "Expand".





Secondly, when someone inwards Twitter clicks the View Summary link, to a greater extent than information (ie a "Twitter Card") is shown virtually the contents of the link - similar this:




In his post, Neil Patel also stated that if you lot don't usage Wordpress,
"you’ll demand to manually generate meta tags for each page on your site"
but fortunately for Blogger users who are brave plenty to explained why having social sharing tags installed into your weblog tin live on important, together with I've written a petty to a greater extent than virtually it specifically for Facebook together with Blogger edit their template that's non quite true.


How to install Twitter Cards into a weblog made alongside Blogger

There are 2 elementary steps needed to laid upwards Twitter sharing tags for your blog:
  • Adding the code to your template, together with then 
  • Asking Twitter if you've got it right.    
The s measuring is necessary because (for whatever reason) Twitter won't usage the tags you lot direct keep installed until you've tested them inwards Twitter's ain validation tool.


Step 1   Add the Twitter Card meta-tags to your template


Edit your template in the green way.


Find the   </head   statement, together with only before it add together the next lines of code:

<!--  START - TWITTER CARD TAGS   -->
<meta name="twitter:card" content="summary"/> 
<meta name="twitter:site" content="@YOUR-TWITTER-ACCOUNT-NAME"/> <meta name="twitter:domain" content="YOUR-BLOG-URL"/>

<b:if cond='data:blog.pageType == &quot;item&quot;'><meta name="twitter:title" expr:content='data:blog.pageName'/><b:else/>
<meta expr:content='data:blog.homepageUrl' name='twitter:url'/>
<meta expr:content='data:blog.pageTitle' name='twitter:title'/></b:if>
<b:if cond='data:blog.postImageThumbnailUrl'><meta name="twitter:image:src" expr:content='data:blog.postImageThumbnailUrl'/><b:else/><meta name="twitter:image:src" content='URL-FOR-IMAGE-YOU-WANT-TO-USE-IF-THERE-IS-NOT-A-THUMBNAIL-PHOTO-IN-THE-POST' /></b:if> 
<b:if cond='data:blog.metaDescription'><meta name="twitter:description" expr:content='data:blog.metaDescription'/><b:else/><!-- Still looking for a agency to usage the post snippet if there's no description --></b:if>

<meta name='twitter:url' expr:content='data:blog.canonicalUrl'/>
<!--  END - TWITTER CARD TAGS   -->


Except, you lot demand to replace a few items alongside your ain values:
  • YOUR-BLOG-URL - alongside your blog's address (eg for me, it's blogger-hints-and-tips.blogspot.com)
  • YOUR-TWITTER-ACCOUNT-NAME - alongside the Twitter concern human relationship mention for your blog. (This occupation is optional)
  • URL-FOR-IMAGE-YOU-WANT-TO-USE-IF-THERE-IS-NOT-A-THUMBNAIL-PHOTO-IN-THE-POST - alongside the web-address of an alternative pic to usage if the post doesn't direct keep a explained why having social sharing tags installed into your weblog tin live on important, together with I've written a petty to a greater extent than virtually it specifically for Facebook together with Blogger thumbnail image.

Save the template changes.


(Twitter also direct keep a code-generator - but it's for websites inwards general, piece I direct keep configured the code higher upwards to usage some of the values that Blogger makes available to us.)


Step 2   Validate your domain


After you lot direct keep done the starting fourth dimension step, become  https://dev.twitter.com/docs/cards/validation/validator.  This is Twitter's validating tool, where they cheque if your code meets their requirements.


Log inwards using your Twitter account.  
You practice demand to direct keep a Twitter concern human relationship yourself - or at to the lowest degree 1 that is dedicated to the weblog - to usage the validator together with so to install Twitter Cards.


Click the Validate together with Apply tab.


Enter the address of a post from your weblog together with press Go.


If you're using a browser that supports showing Twitter Cards, together with then a preview of the carte for your post volition live on shown inwards the right side of the screen.   Check that this looks correct.


Look at the list of results of your Twitter-card values shown on the left of the screen.   If whatever of them exhibit a red-dot, together with then at that topographic point is a employment that you lot demand to fix.   Typically this volition live on because you've accidentally left out a quote grade when you lot were adding your custom values.



Fix any problems, together with move into the blog-post URL over again - expire along going until you lot larn a dark-green dot at the reach of the list.    (Some of the twitter carte values are option, so it doesn't affair if they exhibit equally grayish because they're irrelevant for a Blogger site.)


Enter the URL of your blog overall  (ie non a specific post).
  • If you lot practice nothave a custom domain (ie your weblog is  myBlog.blogspot.com), together with then brand certain you lot enter the blogspot.com URL, non the country-specific 1 (eg   myBlog.blogspot.in).   This is of import afterward inwards the validation process.
  • Fix whatever problems for this equally well.   (There shouldn't live on any, but I recollect it's worth double-checking, particularly if you lot modify the twitter-cards code inwards whatever way.)


Press the Request Approval push clit at the reach of the left paw sidebar.


Confirm the administrative details on the covert that opens - yesteryear default it volition live on filled inwards alongside details from your Twitter account.   You may live on asked for:
  • Contact information for the soul responsible for administering cards on your website (name, electronic mail address, Twitter handle)
  • Website information:   the URL (ie the domain), together with a description.   Note:  if you lot are based exterior the USA together with don't direct keep a custom domain, together with then most in all probability your country-specific address volition live on shown here.    Change it to the blogspot.com   address.
  • Whether your site publishes images or videos that may incorporate sensitive content (eg nudity, violence, or medical procedures) - so that Twitter tin warn viewers earlier showing them.
  • The website's Twitter-name.




Press Submit Request.


After a moment, if your details are correct, Twitter shows a message saying 
"Thanks for applying to live on purpose of Twitter's cards service. We'll review your asking equally shortly equally possible. Expect a few weeks for turn-around time. You volition have an electronic mail when your asking has been reviewed."

I'm non certain if they apply this to all (or indeed any) countries or Twitter accounts:   when I installed Twitter Cards for this site, I got an electronic mail inwards a few minutes proverb .
Your Twitter carte is ready!
We've activated the summary carte for blogger-hints-and-tips.blogspot.com.
If you lot desire to usage other kinds of Twitter cards (and nosotros know you lot do), delight brand some other request.

And the cards themselves were activated on a test-tweet that I did a few minutes after that.


What your readers see

If you lot direct keep installed the Twitter Cards correctly, your electrical flow readers should reckon nada unlike when they see your weblog or when they read your posts via electronic mail or together with RSS feeder.

But when they include a reference to your weblog inwards something that they shipping out within Twitter, the content that they (and their followers) reckon is a nicely formatted carte rather than an ugly-url.





Troubleshooting


Search Descriptions

Twitter cards volition solely operate properly if you lot direct keep enabled Search Descriptions for your blog, together with if you lot direct keep entered 1 for every post that is tweeted.    I looked for ways roughly this using the post-snippet, but haven't constitute a agency to brand this operate yet.


Country-specific redirects

Neil Patel suggested 1 tag that is non included inwards the measure Twitter Cards documentation: twitter:url

Using it gets roughly the problems associated alongside country-specifc URLs for blogspot domain blogs, yesteryear changing whatever Tweets of them to the blogspot.com page, instead of having your tweets split upwards across multiple urls.

I've included it inwards my listing of tags, customized to accept its value from Blogger.    However I'm non withal 100% certain if it volition operate - together with volition update this article accordingly.


Pictures

I've laid upwards the paradigm tag to usage the thumbnail pic for each post - because that is the solely 1 that you lot tin access on a systematic agency for each post.

Twitter's rules say that pictures must live on less than 1mb inwards file size, at to the lowest degree 60px yesteryear 60px, together with that ones larger than 120px yesteryear 120px volition live on resized.    However Blogger may direct keep a thumbnail photograph for some of your posts that is less than 60-by-60.   For these it is probable that your default paradigm volition live on used instead.

The solely agency to over-ride this is to usage a post-specific Twitter meta-tag which points to a larger photograph like:
<b:if cond='data:blog.postURL == &quot;URL-OF-THE-POST&quot;'><meta name="twitter:image:src" content='URL-FOR-IMAGE-YOU-WANT-TO-USE-FOR-THIS-POST' />
</b:if>

Domains

Twiter's documentation was initially a petty sketchy virtually which specific domain should live on validated. Some people reported having to validate all iii possible URLs, ie
www.your-blog.blogspot.com
your-blog.blogspot.com
/*your-blog.blogspot.com
although it is possible that this has directly been resolved.


What other problems direct keep you lot encountered alongside Twitter Cards?




Related Articles:


explained why having social sharing tags installed into your weblog tin live on important, together with I've written a petty to a greater extent than virtually it specifically for Facebook together with Blogger Adding Facebook's Open Graph tags to your blog

explained why having social sharing tags installed into your weblog tin live on important, together with I've written a petty to a greater extent than virtually it specifically for Facebook together with Blogger How to edit your template

explained why having social sharing tags installed into your weblog tin live on important, together with I've written a petty to a greater extent than virtually it specifically for Facebook together with Blogger Post.thumbnail: a summary paradigm for each Blogger post

explained why having social sharing tags installed into your weblog tin live on important, together with I've written a petty to a greater extent than virtually it specifically for Facebook together with Blogger Linking your weblog to the social networks

Subscribe to receive free email updates:

Related Posts :

0 Response to "News!! How To Gear Upwards Twitter's Persuasion Summary Cards To Endure Amongst Blogger Posts"

Post a Comment