summaryrefslogtreecommitdiff
path: root/internal/platforms/linkedin
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-11-03 08:01:06 +0200
committerPaul Buetow <paul@buetow.org>2024-11-03 08:01:06 +0200
commit81af1067ef8bde2ed94d189bd1a6d67641c6c639 (patch)
tree1ccc5254f3088d5e13058f7c452a29300d53ef70 /internal/platforms/linkedin
parent21a5f90ea1187a064fdcc415230561ee47c2cf9a (diff)
more ideas
Diffstat (limited to 'internal/platforms/linkedin')
-rw-r--r--internal/platforms/linkedin/linkedin.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/platforms/linkedin/linkedin.go b/internal/platforms/linkedin/linkedin.go
index bb40a65..a8f7a13 100644
--- a/internal/platforms/linkedin/linkedin.go
+++ b/internal/platforms/linkedin/linkedin.go
@@ -68,6 +68,7 @@ func post(ctx context.Context, args config.Args, sizeLimit int, en entry.Entry)
return callLinkedInAPI(newCtx, personID, accessToken, content, prev)
}
+// TODO: Also post preview images
func callLinkedInAPI(ctx context.Context, personID, accessToken, content string, prev preview) error {
post := map[string]interface{}{
"author": fmt.Sprintf("urn:li:person:%s", personID),