Configuration
-
Add a social account. Go to Configuration > Web services > POSSE Post > Social Accounts and click Add social account. Select a platform, enter a label and username, then add each content type that should be crossposted.
-
Set credentials. After saving the account, the credentials table on the edit page shows the exact environment variable names you need to set. Set them as environment variables on your server. POSSE Post reads them with
getenv()and does not load.envfiles itself. See the Hosting guide for DDEV, Pantheon, and loading a.envfile fromsettings.php. -
Enable sending. Set the
SEND_CROSSPOSTSenvironment variable in your production environment to enable crossposting. If this variable is not set, POSSE Post will not create or send any crossposts. This prevents accidental posts from development or staging environments.
SEND_CROSSPOSTS=1
- Publish a node. When you publish a node with a matching configured content type, POSSE Post creates a crosspost record and queues it for sending. Crossposts are processed on the next cron run.
Permissions. Grant the Administer POSSE Post permission to roles that should manage accounts, configure settings, and act on crosspost records. Grant the View POSSE Post permission to roles that should be able to view crosspost records without making changes.
Manual publishing. Crossposts can be published immediately from Configuration > Web services > POSSE Post > Crossposts without waiting for cron. Individual accounts can also be configured to require manual publishing.
Content customization. Each configured content type supports a format
string with tokens ({title}, {summary}, {content}, {link}, {url},
{author_name}), field mappings, truncation to the platform's character limit,
and optional CamelCase hashtags derived from taxonomy terms. {link} comes
from a mapped link field, while {url} is the Drupal node URL. Format strings
can use actual line breaks or \n newline sequences.
Default settings. New content types start with settings that link back to the original post on your site, in keeping with POSSE (Publish on your Own Site, Syndicate Elsewhere):
| Platform | Format string | Link back |
|---|---|---|
| Bluesky | {summary} |
Website card |
{summary} |
Website card | |
{summary} |
Website card | |
| Mastodon | {summary}\n\n{url} |
URL in the post (Mastodon builds the preview) |
{summary}\n\n{url} |
URL in the caption (not clickable) |
These are only starting values. Changing them, or upgrading the module, never changes content types you have already saved.
Truncation. When a post is too long, POSSE Post shortens the text and keeps URLs and hashtags intact. Mastodon counts every URL as 23 characters no matter how long it is, and POSSE Post counts URLs the same way for Mastodon accounts.
Optimizing for reach. Some platforms may show posts with outbound links to fewer people, and may favor longer text that people read on the platform itself. If reach matters more to you than linking back on a given platform, you can change these settings for that account:
- Turn off Attach website card and leave
{url}and{link}out of the format string. - Use
{content}instead of{summary}to post all of the text, up to the platform's character limit.
For example, a LinkedIn or Facebook account set up this way might use the
format string {title}\n\n{content} with the website card turned off.
Platforms do not publish how they rank posts, so compare results over a few
weeks before deciding.