Skip to main content

Twitter Mentions as Comments WordPress Plugin

2 min read

Summary: Twitter Mentions as Comments does exactly what it promises: it scours Twitter for people talking about your blog posts and silently inserts their Tweets alongside your existing comments. Because it uses WordPress’s built-in commenting system, those Tweets get the same notifications and moderation as any other comment.

Heads up! This post is archived and here for historical purposes. It may no longer be accurate or reflect my views. Proceed at your own risk.

Twitter Mentions as Comments does exactly what it promises to do – scours Twitter for people talking about your blog posts and silently inserts their Tweets alongside your existing comments. The plugin leverages the power of WordPress’s built-in commenting system – notification, comment moderation, author white/black listing – making Twitter an extension of your blog.

Features

  • Searches for Tweets linking to your blog posts, regardless of the URL shortener used (using Twitter’s Search API)
  • Pushes Tweets into WordPress’s existing comment workflow – notifications, comment moderation, and author allowlists/blocklists work just like any other comment
  • Fetches user’s real name and profile picture and links directly to the original Tweet
  • Checks automatically – no need to do a thing
  • Option to automatically exclude ReTweets
  • Option to store tweets as trackbacks
  • Option to specify which posts to check (for example, 10 most recent posts, all posts, front page only)
  • Smart Caching of Tweets and user data – retrieves only what it needs to save on API calls and server load

Planned Features

  • Dynamic resizing of Twitter profile images to fit WordPress theme
  • Prioritization of newer posts
  • OAuth Authentication to raise API limit (currently unlimited Tweets, but limited to 150 new comment authors per hour)
  • Smarter API throttling

The plugin is available in the WordPress plugin repository.

Looking to filter out a particular user or keyword? Because Tweets go through the normal comment filter, you can block them the same way you would block any other comment.

Update (7/8): Comments have been closed in favor of expanded support and discussion options. Additional documentation about the project can now be found in the Project Wiki. If you are interested in joining the project at any level of technical expertise, please see How to Contribute.

Keep reading

Ben Balter

I'm Ben Balter, and I write here about developer platforms, product and engineering leadership, open source, and showing your work. I spent over a decade building developer platforms at GitHub. For five years I was a product manager for trust and safety, shipping 500+ features and the API endpoints behind them to 50M+ developers. I also led a bottom-up rewrite of GitHub Pages and wrote the open source library behind GitHub's license detection, and my open source projects have hundreds of millions of downloads. I wrote Open and Async, the playbook for remote and distributed teams, and shipped a Model Context Protocol (MCP) server alongside it so agents can query it directly. More about the author

Follow along: Bluesky LinkedIn

Originally published November 29, 2010 View revision history

This page is open source Help improve this article on GitHub

Keyboard shortcuts

Search

  • / or ⌘ K Open search
  • ↓ or j ↑ or k Move through results
  • Enter Open the selected result
  • Esc Close search

Go to

  • g then h Home
  • g then p All posts

This page

  • y Copy link to this page
  • ? Show this list