fetcher/twitter

Members

# (inner, constant) timeout :number

The request's timeout value in milliseconds

Type:
  • number

Methods

# (async, static) fn(data, opts) → {object}

Execute a fetch request

Parameters:
Name Type Description
data object

Data used in the request

Properties
Name Type Description
tweetId number | string

Identifier of the tweet

opts object

Options used to enable the request

Properties
Name Type Description
claims.twitter.bearerToken string

The Twitter API's bearer token

Returns:
Type
object