Like

Like and unlike posts on X through Shift's Skill Router.

tryshift-sh 9d1d4d4 2 files · 1.8 KB Updated

File contents

X Like

Use this managed skill for liking and unliking posts on X through Shift.

When to use

  • The user wants to like a tweet
  • The user wants to unlike a tweet they previously liked

How to invoke

Send a POST request to ${SHIFT_LOCAL_GATEWAY}/skill-router/invoke with:

{
  "skillProvider": "x",
  "skill": "like",
  "action": "create",
  "input": {
    "userId": "123",
    "tweetId": "456"
  }
}

For removing a like, use:

{
  "skillProvider": "x",
  "skill": "like",
  "action": "delete",
  "input": {
    "userId": "123",
    "tweetId": "456"
  }
}

Notes

  • This skill requires X to be connected in Shift.
  • Do not ask the user to paste raw credentials into chat.

tryshift-sh/skills-store/tree/main/providers/x/like commit 9d1d4d4986

Frequently asked questions

npx skillmds@latest add tryshift-sh/like