LinkedIn publishing works again; rename Inbox to Posts

LinkedIn:
- The API version was fixed at 202501, retired by LinkedIn (426
  NONEXISTENT_VERSION). It's now the month before last, stepping back a
  month (up to four) if LinkedIn says a version isn't active.
- The versioned Posts API needs a title for a link's article card (422).
  Supermarket reads the linked page's title and description and sends
  them, falling back to the page's address as the title.
Tested for real: a post with a link went out to the member's profile.

Inbox is now Posts: the menu, page, messages and docs; the page moves to
/posts, and /inbox redirects there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-21 12:50:06 -07:00
co-authored by Claude Opus 5.5
parent 7733672706
commit 4b2d791909
21 changed files with 273 additions and 73 deletions
+4 -4
View File
@@ -358,7 +358,7 @@ Part 2 (commit `f275f03`):
- **Scheduling**: a draft is published now or scheduled (`scheduled`,
`publish_at`, migration 3). A scheduler in the app checks every 30
seconds. A post more than 12 hours overdue (the computer was off) goes
back to the Inbox rather than out stale, and so does one refused before
back to Posts rather than out stale, and so does one refused before
posting (signed out, too long). Content has Scheduled and Published tabs.
- **UTM tags** only on links to the company's websites and product URLs
(from the profile), added at publishing; drafts are stored untagged.
@@ -403,7 +403,7 @@ Part 4, promoting our own products:
- Drafts get kind `product` (so `utm_campaign=product`) and the company's
name. The prompt asks for posts that promote the company's own work with
claims the material supports. On Reddit it asks for the makers' voice and
invites feedback, and the Inbox warns that self-promotion is often
invites feedback, and Posts warns that self-promotion is often
restricted.
**Not yet tried for real (deferred on 2026-11-21 for the UI redesign below; run this checklist next).** Parts 1–4 are covered by tests with fake AI
@@ -412,7 +412,7 @@ installed app has no profile, AI key, inventory or social sign-ins yet, so no
real fetch, generation or post has been made. Before relying on it:
1. Fill in the Profile, add an Anthropic key, and add an inventory entry
with an RSS feed (needs no credentials).
2. Fetch, write drafts, and check the Inbox's prompts and lengths.
2. Fetch, write drafts, and check Posts's prompts and lengths.
3. Connect X and LinkedIn, publish one draft now, schedule one a few
minutes ahead, and check that both go out, with UTM tags on a link to
the company's site.
@@ -437,7 +437,7 @@ radius and shadows (and its dark theme, following the system setting), a
left sidebar with search at the top and Settings at the bottom, a top bar
with breadcrumbs, and Settings as grouped tabs on the left. The menu:
Search, Overview (module cards and setup), Inventory, then the modules
(Content with Inbox, Sources, Scheduled and Published; the later phases
(Content with Posts (was Inbox, renamed 2026-11-21), Sources, Scheduled and Published; the later phases
shown greyed out). Settings holds Profile, Social accounts (was
Credentials; keys and sign-in together per network), Core & Hermes, and AI
(provider, model, and the API keys, which moved there from Credentials).