| Recommend this page to a friend! |
| Packages of Matthew Asham | Binkterm PHP | docs/MessageSharing.md | Download |
|
|||||||||||||||||||||
Message SharingUsers can generate public share links for individual echomail messages. Shared links work for anyone on the web ? no BBS account required for public shares. Links can include a custom preview image and AI-generated description for social media embeds (Open Graph). Echomail sharing supports both token URLs and human-readable friendly URLs. Netmail cannot be shared. Sharing a MessageOpen a message in the reader and click the Share button (or right-click the message and choose Share). The share dialog lets you:
Each user gets at most one active share per message. Creating a share when one already exists returns the existing share URL unchanged. Share URL FormatsToken URL:
Friendly URL ? generated on request:
The friendly URL is generated from the message subject and the echo area tag. If two messages in the same area produce the same slug, a Open Graph PreviewWhen a share link is pasted into social media (Facebook, Mastodon, Discord, etc.), the platform fetches the page and reads the Open Graph meta tags to build a card preview. Description ? The Preview image ? Upload a JPEG, PNG, GIF, or WebP image (max 5 MB) through the share dialog. The image is served via The AI summary button (if AI is configured on the system) sends the message text to the configured AI provider and returns a one- or two-sentence description suitable for an OG tag. Access Control| Share type | Who can view | |---|---| | Public | Anyone with the link ? no login required | | Private | Only logged-in BBS users | A share stops working if: - It has been revoked by the user who created it. - Its expiry time has passed. - The original message was deleted. Revoked shares are soft-deleted (marked inactive). The share key and record are kept for audit purposes but the URL returns 404. Share ExpirySet Default expiry for new shares is 168 hours (one week). Users can change their personal default in account settings. Managing Your SharesOpen the share dialog on any message you have previously shared. It shows:
Click Revoke to deactivate your share. Revoking does not delete the OG image from storage; remove it explicitly before revoking if you want the file gone. Per-User Limits| Setting | Default | Description |
|---|---|---|
| Admins can change these values in Admin ? Users ? Edit user. Referrer TrackingEach time a shared link is accessed from an external site, the referrer domain is recorded. The share dialog shows a Top Referrers list for each share. Internal referrers (same-site requests) are excluded. Analytics for shares are also visible in Admin ? Analytics. Admin ControlsAI summary generation is enabled or disabled system-wide in Admin ? AI Settings ( There are no admin controls to revoke another user's share. Users manage their own shares. API ReferenceAll share endpoints require an authenticated session except where noted. Create or retrieve a share
Returns List shares for a message
Returns Revoke a share
Generate a friendly URL
Upload an OG preview image
Remove an OG preview image
Serve an OG image (public, no auth)
View a shared message (HTML, public if share is public)
Retrieve shared message data (JSON)
Returns 401 for private shares when unauthenticated, 404 for expired or revoked shares. Generate an AI summary
Only available when AI summary generation is enabled in admin settings. Key Files| Path | Purpose |
|---|---|
| |