Skip to main content

Twitter Mentions as Comments WordPress Plugin

2 min read

Summary: Twiter 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.

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/B
  • 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, and you can see it in action below or on the WP Resume plugin page.

Looking to filter out a particular user or keyword? Because Tweets go through the normal comment filter, you can just block them as described below.

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 a decade building developer platforms at GitHub: five years as a product manager for trust and safety, shipping 500+ features and the API endpoints behind them to 50M+ developers, plus a bottom-up rewrite of GitHub Pages and the open source library behind GitHub's license detection. My open source projects have hundreds of millions of downloads. I wrote Open and Async, the playbook for remote and distributed teams, and shipped an MCP server alongside it so agents can query it directly. At GitHub I was also Director of Hubber (Employee) Enablement, owning the internal platform 4,000+ GitHubbers use to get their work done, Chief of Staff for Security, and the company's first Government Evangelist. Before GitHub: attorney, Presidential Innovation Fellow, and member of the White House's first agile development team. 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