채널
에이전트가 업리카로 링크드인 개인 프로필에 글을 올리는 방법. 글, 이미지 여러 장이나 영상 하나, 직접 제목을 다는 링크 카드, 60일 연결, 그리고 링크드인이 열어 둔 권한으로 못 하는 것.
한눈에
| 이름 | 타입 | 설명 |
|---|---|---|
characters | text | 10,000 |
images | media | up to 20 per post; more than that and the first 20 go out with a warning |
carousel | media | 2-20 items |
video | media | 1 per post |
text alone | media | allowed |
posts / 24h | limit | 25 |
deletes / 24h | limit | LinkedIn deletes posts this profile created through uplika, with no documented daily cap |
status | state | live |
이 숫자는 서버가 검증에 쓰는 파일에서 그대로 옵니다. 글은 글만, 글과 이미지, 글과 영상 하나 중 하나입니다. 이미지 여러 장은 한 글로 묶여 나가고, 이미지와 영상은 섞을 수 없습니다.
왜 링크드인은 다시 연결하라고 하나요?
링크드인은 업리카 같은 앱에 60일짜리 연결을 주고 늘리는 길은 주지 않습니다. 끝나기 일주일 전부터 연결 카드에 「다시 연결」 이 뜨고 업리카가 메일을 한 통 보냅니다. 다시 연결하면 링크드인에 다시 로그인하고 같은 연결이 이어지므로 발행 기록도 그대로입니다. 끝나는 날 뒤로 예약한 글은 그 시각 전에 다시 연결해야 나갑니다. 다시 연결하지 않으면 account_expired 로 실패하고 다시 보내야 합니다. 에이전트는 list_accounts 의 tokenExpiresAt · expiresInDays · health 로 읽습니다.
첫 글은 어떻게 올리나요?
본문과, 있으면 이미지나 영상 하나로 publish 를 부릅니다. 본문의 #해시태그는 링크드인 해시태그가 됩니다. @이름은 글자로 남습니다. 업리카가 사람을 태그할 수 없어서입니다. 링크 카드는 파일 없이 options.linkedin.link 와 linkTitle 을 줍니다. 링크드인이 그 페이지를 읽지 않아서 카드에는 준 제목과 주소의 도메인만 보입니다. 설명은 같이 보내지만 지금 링크드인 카드에는 안 보입니다. 영상은 처리에 시간이 걸리니 wait: true 를 주고 글이 나간 뒤에 링크를 알려 주세요.
curl -X POST https://api.uplika.com/v1/posts \
-H "Authorization: Bearer $UPLIKA_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "We moved our weekly notes to a public page. #productupdates",
"accountIds": ["conn_..."],
"options": { "linkedin": { "link": "https://example.com/notes", "linkTitle": "Weekly product notes" } }
}'options.linkedin 이 받는 것
| 이름 | 타입 | 설명 |
|---|---|---|
visibility | PUBLIC | CONNECTIONS | Who can see the post. PUBLIC (default): anyone on or off LinkedIn. CONNECTIONS: the person's 1st-degree connections only. |
link | string | An https:// address to show as a link card under the text. Text-only posts only: leave it out when files are attached. LinkedIn does not read the page, so linkTitle is required with it. |
linkTitle | string | The title shown on the link card, up to 200 characters. Required when link is set. |
linkDescription | string | A description sent with the link card, up to 300 characters. Optional. LinkedIn's card currently shows only the title and the site's domain. |
content | string | Text for this channel only. When set it replaces the shared content for this channel, and the length and media checks use it. Leave it out to use the shared content. |
서버가 검증에 쓰는 스키마에서 그대로 만듭니다. 다른 채널처럼 content, 이 채널에만 나가는 다른 본문도 받습니다.
안 되는 것은?
되읽기. 링크드인은 글 · 댓글 · 반응 읽기를 승인된 파트너에게만 열어서 get_post · list_channel_posts · list_replies · reply · get_insights 는 못 한다고 답합니다. 수정은 본문만 바뀌고 이미지 · 영상 · 링크 카드는 안 바뀝니다. 회사 페이지. 지금은 개인 프로필만 연결합니다.
자주 묻는 것
링크드인 회사 페이지에 올릴 수 있나요?
아직은 안 됩니다. 업리카는 로그인한 개인 프로필로 연결합니다. 회사 페이지는 링크드인이 따로 주는 권한이 필요합니다.
올린 글을 도구에 어떻게 가리키나요?
publish 가 돌려준 링크나 id, 아니면 링크드인의 글 링크(linkedin.com/feed/update/urn:li:share:… 또는 urn:li:ugcPost:…)를 넣습니다. 활동 피드에서 복사한 링크(urn:li:activity:…)는 글과 짝지을 수 없어서 거절합니다.
연결을 해제하면 링크드인에서도 업리카가 지워지나요?
해제하면 업리카가 갖고 있던 토큰이 지워집니다. 링크드인에는 업리카가 허용한 서비스로 남습니다. 거기서도 지우려면 링크드인의 나 → 개인정보 설정 → 데이터 개인정보 설정으로 가서, 다른 앱의 「허용한 서비스」 에서 업리카 옆 「삭제」 를 누르세요.