Twitter released a statement earlier this morning about the integration with the widely popular WordPress. Read the statement below.
By now, most everyone with an Internet connection has read a WordPress blog or site. With over 76 million sites and 14 billion monthly pageviews, WordPress is possibly the most popular, easy-to-use blogging platforms out there.
We worked with Raanan, SVP at Automattic —the makers of WP.com — to integrate the Twitter platform. WordPress users now have a simple way to distribute their content to their Twitter followers and over 240M other people on Twitter. Here’s how this integration worked.
Simple sharing with Twitter OAuth
WordPress.com and WordPress self-hosted sites running the Jetpack plugin make it easy to share blog content on Twitter. It took them just three simple steps to implement the Twitter OAuth API:
visit the Twitter App and create an App
create access tokens for your App implement the OAuth web flow
With the OAuth integration, the user’s blog and Twitter account are now connected. Moreover, as each new post is published, a corresponding Tweet is automatically posted, making sharing content on Twitter a seamless part of a blogger’s everyday workflow.
Twitter Cards for greater distribution and engagement
WordPress also implemented Twitter Cards so that the beautiful photos, videos and other media that their users are posting are automatically attached to their tweets.
We want to ensure that WordPress looks fantastic on Twitter, so that we help our bloggers grow their sites and build their Twitter relationships.Raanan Bar-Cohen@raananSVP, Wordpress.com
WordPress automatically generates the necessary Twitter Cards markup for every post, as in this example:
Twitter Cards Meta Tags
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@postaday" />
<meta name="twitter:title" content="Two Seconds to Better Photos: Try the Rule of Thirds" />
<meta name="twitter:description" content="We're constantly taking photos, from Instagrammed images of that really good sandwich at lunch to posed, just-so portraits of family gatherings. It's easy: look through the viewfinder, center the s..." />
<meta name="twitter:image:src" content="<a href="http://dailypost.files.wordpress.com/2014/02/2013-xmas-henry.jpg?w=640" target="_blank" rel="nofollow">http://dailypost.files.wordpress.com/2014/02/2013-xmas-henry.jpg?w=640</a>" />
These five lines of code enable a richer, more compelling Tweet:
Twitter Insights tells how content is being distributed
With the launch of analytics for Twitter Cards, WordPress is now able to see results from their OAuth and Twitter Cards integration. From their dashboard view for their WordPress.org running the Jetpack Cards plugin with Cards support, they can now see that they receive 408 million impressions every week. Moreover, it gives them a baseline to continue tweaking and optimizing their Cards implementation.
WordPress has done a seamless integration with the Twitter platform to give their users greater reach and beautifully presented content. They use OAuth to connect directly to Twitter, share content on Twitter on their users’ behalf, implement Cards to give their Tweets extra reach, and measure and optimize performance with Twitter Card analytics.
Matt Mullenweg, founder of Automattic and co-founder of WordPress expressed his excitement about this integration for strengthening WordPress as a social hub.