Skip to content

POSSE Post

POSSE Post implements the POSSE (Publish on your Own Site, Syndicate Elsewhere) philosophy for Drupal. When you publish a node, POSSE Post automatically creates and sends a corresponding post to your connected social media accounts, so your content lives on your own site first and social networks get the copy.

This module is for site owners who want to maintain a canonical archive of their content on their own Drupal site while still reaching audiences on platforms like Bluesky, Mastodon, LinkedIn, Facebook, and Instagram.

Background

There are many more robust tools for managing multiple social networks, such as Buffer, Hootsuite, and Metricool, which offer scheduling, analytics, engagement tracking, and more. This module is not that.

Within the Drupal ecosystem, Social Post provides a framework for social network integrations, but it requires a separate sub-module for each platform, and most of those sub-modules have not been updated recently. The POSSE module takes a similar approach to this one but has not had a release since 2021 and targets Drupal 8. POSSE Post is a self-contained solution that does not depend on any third-party Drupal modules.

This is an opinionated module meant to provide a single, self-hosted solution for POSSE. It is most similar to POSSE Party, but Drupal-specific. POSSE Party requires a customized Atom feed that Drupal does not provide out of the box, and it required more memory than my small server could handle.

Where possible, this module handles OAuth authorization directly. LinkedIn, for example, has a built-in authorization flow that fetches and stores your access token automatically. For other platforms this module cannot make the process of getting access tokens, API keys, and credentials any easier. It does not provide a separate OAuth server or relay service. It is just another Drupal module that talks directly to each platform's API.

Also be aware that this module does not offer scheduling, optimal posting times, engagement analytics, or any other marketing best practices. It just reposts your content.

Some platforms, like Mastodon, make POSSE fairly straightforward. Others, like Facebook, Instagram, and LinkedIn, make the process quite cumbersome. This module assumes what you really care about is your own site, and that what gets posted to social networks is secondary. If a platform makes its API too difficult to use, the likely outcome is dropping support for that platform altogether.

I have been blogging since the early 2000s and use this module on my own site. I intend to keep it working as long as the social networks allow.

Dependencies

  • Drupal ^10 || ^11 || ^12
  • At least one social platform account you control and can authorize

Getting Started

  1. Install the module with Composer: composer require drupal/posse_post.
  2. Enable the module: drush en posse_post.
  3. Visit /admin/config/services/posse-post to configure global settings.
  4. Follow the setup guide for each platform you want to syndicate to:
  5. If you host on Pantheon, see the Hosting guide for storing credentials in the Secrets Manager.

Documentation

This documentation is generated using MkDocs from the source files located in the docs/ directory. To build the docs locally:

  1. Install MkDocs and associated plugins: pip install mkdocs mkdocs-material mike mkdocs-include-markdown-plugin mkdocs-glightbox
  2. Run the MkDocs server in the project root: mkdocs serve
  3. Open http://127.0.0.1:8000 in your browser.

Submit bug reports and feature suggestions, or track changes in the issue queue.