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:
@@ -1,6 +1,6 @@
|
||||
{{define "content"}}{{with .Data}}{{$conn := .Connected}}
|
||||
<h1>Scheduled</h1>
|
||||
<p class="lede">Approved posts, in the order they go out ({{.Zone}}). Supermarket publishes them on time as long as it's running; one more than 12 hours late goes back to the Inbox instead.</p>
|
||||
<p class="lede">Approved posts, in the order they go out ({{.Zone}}). Supermarket publishes them on time as long as it's running; one more than 12 hours late goes back to Posts instead.</p>
|
||||
|
||||
{{if .Drafts}}
|
||||
<table class="list">
|
||||
@@ -26,6 +26,6 @@
|
||||
</tbody>
|
||||
</table>
|
||||
{{else}}
|
||||
<section class="card empty"><p>Nothing scheduled. Schedule drafts from the <a href="/inbox">Inbox</a>.</p></section>
|
||||
<section class="card empty"><p>Nothing scheduled. Schedule drafts from the <a href="/posts">Posts</a>.</p></section>
|
||||
{{end}}
|
||||
{{end}}{{end}}
|
||||
|
||||
Reference in New Issue
Block a user