Instagram Post Upload 🐧
Upload images as Instagram posts via OpenClaw browser tool (CDP port 18800).
Prerequisites
- - OpenClaw browser running (port 18800)
- Instagram tab open and logged in
- Images in JPG format (PNG causes "문제가 발생했습니다" errors)
Quick Upload
For simple posts, use the bundled script:
CODEBLOCK0
Browser Tool Method (Recommended)
Step-by-step flow:
- 1. Snapshot —
browser snapshot to find the Instagram tab. Save targetId.
- 2. Close any dialogs — If settings/menus are open, press ESC or click outside.
- 3. Click "만들기" — Find "새로운 게시물 만들기" or "만들기" in sidebar. Click it.
- 4. Upload image — Find
input[type=file] via evaluate:
document.querySelectorAll('input[type="file"]')
Use the last one (usually index 2, accepts video+image). Upload via
browser upload.
- 5. Wait 5 seconds — Let the image load.
- 6. Click "다음" — Crop screen → Next.
- 7. Click "다음" — Filter screen → Next.
- 8. Type caption — Find textarea with
aria-label="문구 입력...", click it, then type.
- 9. Add collaborators (optional) — Before sharing:
- Click "사람 태그하기" or collaborator section
- Search and add your team account usernames
- 10. Click "공유하기" — Submit the post.
- 11. Verify — Wait for "게시물이 공유되었습니다" confirmation.
Image Preparation
- - Format: JPG only. Convert PNG: INLINECODE5
- Size: 1024x1024 or 1080x1080 recommended
- Multiple images: Upload multiple files to the same input for carousel
Collaborator Tagging
Configure your default collaborators in your workspace TOOLS.md file.
Troubleshooting
| Problem | Fix |
|---|
| "문제가 발생했습니다" | Convert PNG→JPG, refresh browser |
| act timeout |
Re-snapshot, re-confirm refs |
| Settings dialog open | Press ESC or click outside |
| File input not found | Re-click "만들기" button |
| Caption won't type | Click textarea first, then type |
| Wrong element clicked | Always snapshot before clicking, verify ref |
🐧 Built by 무펭이 — 무펭이즘(Mupengism) 생태계 스킬
Instagram 게시물 업로드 🐧
OpenClaw 브라우저 도구(CDP 포트 18800)를 통해 이미지를 Instagram 게시물로 업로드합니다.
사전 요구사항
- - OpenClaw 브라우저 실행 중 (포트 18800)
- Instagram 탭이 열려 있고 로그인된 상태
- JPG 형식의 이미지 (PNG는 문제가 발생했습니다 오류 발생)
빠른 업로드
간단한 게시물의 경우 번들 스크립트 사용:
bash
node /scripts/post.sh <이미지경로쉼표로_구분> <캡션>
브라우저 도구 방법 (권장)
단계별 흐름:
- 1. 스냅샷 — browser snapshot으로 Instagram 탭을 찾습니다. targetId를 저장합니다.
- 2. 대화상자 닫기 — 설정/메뉴가 열려 있으면 ESC를 누르거나 외부를 클릭합니다.
- 3. 만들기 클릭 — 사이드바에서 새로운 게시물 만들기 또는 만들기를 찾아 클릭합니다.
- 4. 이미지 업로드 — evaluate를 통해 input[type=file] 찾기:
js
document.querySelectorAll(input[type=file])
마지막 항목(보통 인덱스 2, 비디오+이미지 허용)을 사용합니다. browser upload로 업로드합니다.
- 5. 5초 대기 — 이미지 로딩을 기다립니다.
- 6. 다음 클릭 — 자르기 화면 → 다음.
- 7. 다음 클릭 — 필터 화면 → 다음.
- 8. 캡션 입력 — aria-label=문구 입력...인 textarea를 찾아 클릭한 후 입력합니다.
- 9. 협업자 추가 (선택 사항) — 공유 전:
- 사람 태그하기 또는 협업자 섹션 클릭
- 팀 계정 사용자 이름 검색 및 추가
- 10. 공유하기 클릭 — 게시물을 제출합니다.
- 11. 확인 — 게시물이 공유되었습니다 확인 메시지 대기.
이미지 준비
- - 형식: JPG만 가능. PNG 변환: convert input.png -quality 92 output.jpg
- 크기: 1024x1024 또는 1080x1080 권장
- 여러 이미지: 캐러셀을 위해 동일한 입력에 여러 파일 업로드
협업자 태그
워크스페이스 TOOLS.md 파일에서 기본 협업자를 구성하세요.
문제 해결
| 문제 | 해결 방법 |
|---|
| 문제가 발생했습니다 | PNG→JPG 변환, 브라우저 새로고침 |
| act 시간 초과 |
다시 스냅샷, 참조 재확인 |
| 설정 대화상자 열림 | ESC 누르거나 외부 클릭 |
| 파일 입력을 찾을 수 없음 | 만들기 버튼 다시 클릭 |
| 캡션 입력 안 됨 | 먼저 textarea 클릭 후 입력 |
| 잘못된 요소 클릭 | 클릭 전 항상 스냅샷, 참조 확인 |
🐧 무펭이 제작 — 무펭이즘(Mupengism) 생태계 스킬