Timeline

Read home timeline, mentions, and user posts on X through Shift's Skill Router.

tryshift-sh b910daf 2 files · 3.1 KB Updated

File contents

X Timeline

Use this managed skill for reading X timelines and mentions through Shift.

When to use

  • The user wants to read their home timeline
  • The user wants to read a user's tweets
  • The user wants to read mentions

How to invoke

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

Home timeline:

{
  "skillProvider": "x",
  "skill": "timeline",
  "action": "home",
  "input": {
    "userId": "123"
  }
}

User tweets:

{
  "skillProvider": "x",
  "skill": "timeline",
  "action": "user-tweets",
  "input": {
    "userId": "123"
  }
}

Mentions:

{
  "skillProvider": "x",
  "skill": "timeline",
  "action": "mentions",
  "input": {
    "userId": "123"
  }
}

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/timeline commit b910daf2d3

Frequently asked questions

npx skillmds@latest add tryshift-sh/timeline