Update: 뉴스 시스템 통합 계획 - 확인 사항 반영

- Block Kit 구조 확인됨 (문서 참조)
- Interactive endpoint 구현 필요 명시
- Socket Mode 미사용, HTTP Mode 사용 확인
- OAuth Scopes 부분 확인
This commit is contained in:
happybell80 2025-09-06 17:54:25 +09:00
parent 21cbd79c34
commit ccef1fc21e

View File

@ -63,7 +63,7 @@ blocks = [
}
]
```
**확인 필요**: Block Kit 권한, 메시지 구조
**확인됨**: Block Kit 구조 (250828_slack_message_formatting_guide.md 참조)
### 3.2 Interactive Endpoint (rb8001)
**위치**: main.py 또는 slack_endpoint.py
@ -75,6 +75,7 @@ async def handle_interaction(request: Request):
# skill-publish 호출
# 결과 응답
```
**구현 필요**: 엔드포인트 없음 (새로 구현 필요)
**확인 필요**: Slack App 설정의 Interactive URL
### 3.3 skill-publish 연동 (rb8001)
@ -98,7 +99,8 @@ async def publish_to_squarespace(news_data):
### rb8001 (.env)
```bash
SLACK_APP_TOKEN=xapp-... # 설정 필요 (현재 빈값)
# Socket Mode 미사용 (HTTP Mode 사용 중)
# SLACK_APP_TOKEN 불필요
# SKILL_PUBLISH_URL 불필요 (localhost 하드코딩)
```
@ -109,9 +111,10 @@ SLACK_APP_TOKEN=xapp-... # 설정 필요 (현재 빈값)
## 5. Slack App 설정
**필요 작업**:
- Interactivity & Shortcuts 활성화 (현재 SLACK_APP_TOKEN 빈값)
- Interactivity & Shortcuts 활성화 (HTTP Mode)
- Request URL 설정: https://ro-being.com/api/slack/interactive
- OAuth Scopes 확인: chat:write, commands, im:history
- OAuth Scopes 확인됨: chat:write, chat:write.public (문서 확인)
- 확인 필요: im:history 권한
## 6. 구현 우선순위