Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

twitter路由能否给repost也附上原文url? #18163

Open
1 task done
icylian opened this issue Jan 18, 2025 · 1 comment
Open
1 task done

twitter路由能否给repost也附上原文url? #18163

icylian opened this issue Jan 18, 2025 · 1 comment
Labels
RSS enhancement New feature or request to existing RSS

Comments

@icylian
Copy link

icylian commented Jan 18, 2025

这是一个什么样的功能?

{
  "id": "https://twitter.com/BingleBingle7/status/1879870974851690792",
  "url": "https://x.com/BingleBingle7/status/1879870974851690792",
  "title": "Re @SODA_UYU 🥹😋👍",
  "content_html": "Re @SODA_UYU 🥹😋👍",
  "date_published": "2025-01-16T12:39:01.000Z",
  "authors": [
    {
      "name": "WhoooYa",
      "url": "https://x.com/BingleBingle7",
      "avatar": "https://pbs.twimg.com/profile_images/1871180050206511104/wCtoewJE_normal.jpg"
    }
  ],
  "_extra": {
    "links": [
      {
        "url": "https://x.com/SODA_UYU/status/1879865349853905149",
        "type": "reply"
      }
    ]
  }
},
{
  "id": "https://twitter.com/BingleBingle7/status/1879493606618309086",
  "url": "https://x.com/BingleBingle7/status/1879493606618309086",
  "title": "RT 보안부서 관리팀: 🙃",
  "content_html": "RT 보안부서 관리팀\u003Cbr\u003E🙃\u003Cbr\u003E\u003Cimg width=\"700\" height=\"683\" style=\"\" src=\"https://pbs.twimg.com/media/GhUvAebbsAAObMP?format=png&name=orig\" referrerpolicy=\"no-referrer\"\u003E",
  "date_published": "2025-01-15T09:26:28.000Z",
  "authors": [
    {
      "name": "WhoooYa",
      "url": "https://x.com/BingleBingle7",
      "avatar": "https://pbs.twimg.com/profile_images/1871180050206511104/wCtoewJE_normal.jpg"
    }
  ],
  "_extra": {
    "links": [
      {
        "type": "repost"
      }
    ]
  }
}

如题,获取json格式的twitter路由可以看到reply跟quote都可以获得原文的url,但是repost是没有的,如果技术上可行的话希望可以给repost也加上被RT的原文url,感谢

这个功能可以解决什么问题?

能够更方便的获取被RT的原推文

额外描述

No response

这不是重复的功能请求和 RSS 提案

@icylian icylian added the RSS enhancement New feature or request to existing RSS label Jan 18, 2025
@icylian
Copy link
Author

icylian commented Jan 22, 2025

测试可以在twitter的utils.ts里的_extra处增加
url: https://x.com/${item.user?.screen_name}/status/${item.conversation_id_str}
实现,再次感谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RSS enhancement New feature or request to existing RSS
Projects
None yet
Development

No branches or pull requests

1 participant