Open5

特定ツイートの前後をたどるヤツがほしい

サーベイ

使えそうなAPIを探す

references

https://developer.twitter.com/en/docs/twitter-api/v1/tweets/timelines/api-reference/get-statuses-user_timeline

v1

params:

  • since_id
  • max_id
  • count
  • include_rts=1

https://developer.twitter.com/en/docs/twitter-api/tweets/timelines/api-reference/get-users-id-tweets

v2

params:

  • since_id
    • Returns results with a Tweet ID greater than (that is, more recent than) the specified 'since' Tweet ID. Only the 3200 most recent Tweets are available. The result will exclude the since_id. If the limit of Tweets has occurred since the since_id, the since_id will be forced to the oldest ID available.

    • = ここから未来
  • until_id
    • Returns results with a Tweet ID less less than (that is, older than) the specified 'until' Tweet ID. Only the 3200 most recent Tweets are available. The result will exclude the until_id. If the limit of Tweets has occurred since the until_id, the until_id will be forced to the most recent ID available.

    • = ここより過去
  • max_results
    • Specifies the number of Tweets to try and retrieve, up to a maximum of 100 per distinct request. By default, 10 results are returned if this parameter is not supplied. The minimum permitted value is 5. It is possible to receive less than the max_results per request throughout the pagination process.

当該tweetをカーソルに前後数個取れば良さそう

v2

まだEAらしい

https://developer.twitter.com/en/docs/twitter-api/early-access

https://developer.twitter.com/en/apply-for-access

OAuth 2

read only で十分

https://developer.twitter.com/en/docs/authentication/oauth-2-0

非同期処理は React Suspense を使いたい

ログインするとコメントできます