summaryrefslogtreecommitdiff
path: root/internal/platforms
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-10-19 18:45:40 +0300
committerPaul Buetow <paul@buetow.org>2024-10-19 18:45:40 +0300
commitc072a8a06c9634948497f4ef5e69b832c80be195 (patch)
treee97d54e6da2fc3f8c6d627653bb4a19a5e887f70 /internal/platforms
parent3287dbc49f3a9df43b086da84516b7e0a9902707 (diff)
jo
Diffstat (limited to 'internal/platforms')
-rw-r--r--internal/platforms/linkedin/linkedin.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/platforms/linkedin/linkedin.go b/internal/platforms/linkedin/linkedin.go
index b07ab70..c283fbc 100644
--- a/internal/platforms/linkedin/linkedin.go
+++ b/internal/platforms/linkedin/linkedin.go
@@ -58,7 +58,7 @@ func callLinkedInAPI(ctx context.Context, personID, accessToken, content string)
post := map[string]interface{}{
"author": fmt.Sprintf("urn:li:person:%s", personID),
- "commentary": content, // TODO: Can't post (...) paretenthesis? escape them?
+ "commentary": content, // TODO: Can't post (...) paretenthesis? escape them? TEST AGAIN!
"visibility": "PUBLIC",
"distribution": map[string]interface{}{
"feedDistribution": "MAIN_FEED",
@@ -98,3 +98,5 @@ func callLinkedInAPI(ctx context.Context, personID, accessToken, content string)
}
return err
}
+
+// TODO: Implement Gemini output?