Phase 6 part 4: post as the LinkedIn company page

A second LinkedIn app (Community Management API) with its own sign-in on
Settings → Social accounts: the pages the member may post for are listed
and one chosen, new LinkedIn drafts default to the page or to you, and
each draft can switch before it's published. Schema 25.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-22 15:05:30 -07:00
co-authored by Claude Opus 5.5
parent 2c42857419
commit 98913971ea
20 changed files with 841 additions and 74 deletions
+6 -3
View File
@@ -72,10 +72,13 @@ func (s *Server) linkedInExpiry() *Expiry {
// reminders are the sign-ins running out soon, or already, for the
// Overview and Posts.
func (s *Server) reminders() []Expiry {
if e := s.linkedInExpiry(); e != nil && e.Soon() {
return []Expiry{*e}
var out []Expiry
for _, e := range []*Expiry{s.linkedInExpiry(), s.linkedInPageExpiry()} {
if e != nil && e.Soon() {
out = append(out, *e)
}
}
return nil
return out
}
const connectionsKey = "connections"