OpenKakao

REST vs LOCO

When to use each transport and where the stability boundary sits.

REST vs LOCO

OpenKakao uses two transport layers. They are not interchangeable.

Use REST when you need

  • quick token or account health checks
  • friends, settings, and other account-adjacent reads
  • default profile <user_id> lookups outside a known chat context
  • recently opened chat or message cache from the desktop app
  • lower session overhead for short one-shot commands

REST is the lightweight path. It is useful for diagnostics and small reads, but it is not the authoritative messaging path.

Use LOCO when you need

  • the full chat list
  • server-retained message history
  • sending messages or media
  • real-time watch mode
  • behavior that matches KakaoTalk's active messaging session

LOCO is the heavier path, but it is the path that matters for real chat automation.

Practical boundary

NeedUseReason
auth, friends, settingsRESTfaster and simpler account checks
meREST -> LOCO-derived local graphprefer the account path, but recover from known-chat graph when REST is unhealthy
profile --chat-id <chat_id>LOCOreuse chat-scoped GETMEM member profile data
friends --local, profile --localLOCO-derived local graphbest-effort graph built from known chats, not a full account friend list
profile <user_id> after REST failureREST -> LOCO-derived local graphpreserve the old fast path but recover when REST friend profile is unhealthy
chats, read, members, chatinfoLOCO by defaultauthoritative chat and session-aware access
chats --rest, read --rest, members --restRESTlimited by what the desktop app recently opened or cached
send, send-file, send-photo, watchLOCOoutbound and real-time messaging live here
doctorREST first, optional LOCOgood for narrowing auth vs transport failures

Stability guidance

For unattended operation, do not pretend REST and LOCO fail the same way.

  • REST can often still answer lightweight account checks even when LOCO needs reauthentication.
  • LOCO needs a valid live session, so it is the stricter test for service health.
  • If your workflow depends on message delivery or full history, validate LOCO directly.
  • If your workflow only needs to know whether the local app state is basically healthy, REST is a cheaper first check.
  1. use REST to verify state quickly
  2. use LOCO for actual chat automation
  3. treat LOCO failures as the stronger signal when deciding whether a service is healthy

Next

On this page