timeline

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

X Timeline

X 时间线

Use this managed skill for reading X timelines and mentions through Shift.
使用这个托管Skill通过Shift读取X平台的时间线和提及内容。

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:
json
{
  "skillProvider": "x",
  "skill": "timeline",
  "action": "home",
  "input": {
    "userId": "123"
  }
}
User tweets:
json
{
  "skillProvider": "x",
  "skill": "timeline",
  "action": "user-tweets",
  "input": {
    "userId": "123"
  }
}
Mentions:
json
{
  "skillProvider": "x",
  "skill": "timeline",
  "action": "mentions",
  "input": {
    "userId": "123"
  }
}
${SHIFT_LOCAL_GATEWAY}/skill-router/invoke
发送一个
POST
请求。
主页时间线:
json
{
  "skillProvider": "x",
  "skill": "timeline",
  "action": "home",
  "input": {
    "userId": "123"
  }
}
用户推文:
json
{
  "skillProvider": "x",
  "skill": "timeline",
  "action": "user-tweets",
  "input": {
    "userId": "123"
  }
}
提及内容:
json
{
  "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.
  • 该Skill要求已在Shift中连接X平台。
  • 请勿要求用户在聊天中粘贴原始凭证。