retweet

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

X Repost

X 转发

Use this managed skill for reposting and undoing reposts on X through Shift.
通过Shift使用此托管技能在X平台上进行转发和取消转发操作。

When to use

使用场景

  • The user wants to repost a post
  • The user wants to undo a repost
  • 用户想要转发一条帖子
  • 用户想要取消已转发的帖子

How to invoke

调用方式

Send a
POST
request to
${SHIFT_LOCAL_GATEWAY}/skill-router/invoke
with:
json
{
  "skillProvider": "x",
  "skill": "retweet",
  "action": "create",
  "input": {
    "userId": "123",
    "tweetId": "456"
  }
}
To undo a repost, use:
json
{
  "skillProvider": "x",
  "skill": "retweet",
  "action": "delete",
  "input": {
    "userId": "123",
    "tweetId": "456"
  }
}
${SHIFT_LOCAL_GATEWAY}/skill-router/invoke
发送
POST
请求,请求体如下:
json
{
  "skillProvider": "x",
  "skill": "retweet",
  "action": "create",
  "input": {
    "userId": "123",
    "tweetId": "456"
  }
}
要取消转发,请使用:
json
{
  "skillProvider": "x",
  "skill": "retweet",
  "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.
  • 此技能需要在Shift中关联X平台账号。
  • 请勿要求用户在聊天中粘贴原始凭证信息。