URL for a link to Twitter for a specific tweet

前端 未结 6 593
星月不相逢
星月不相逢 2021-01-31 01:04

I have some Javascript that uses Twitter API to get tweets. I parse the data and use jQuery to generate HTML for the DOM.

An aspect of what I want to display is a \"Vie

6条回答
  •  北荒
    北荒 (楼主)
    2021-01-31 01:22

    FYI: id_str is the variable you need to call instead of id

    id_str should be taken from the tweet object and replaced in https://twitter.com/statuses/[id_str]

提交回复
热议问题