Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TweetFetch

Hierarchy

  • TweetFetch

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

twitter

twitter: any

Methods

get

  • get(req: string): Promise<any>
  • Returns Tweet full text with data

    Parameters

    • req: string

    Returns Promise<any>

getData

  • getData(req: string): Promise<any>
  • Return Tweet JSON

    Parameters

    • req: string

    Returns Promise<any>

getOembed

  • getOembed(url: string): Promise<any>
  • Returns a single Tweet, specified by either a Tweet web URL or the Tweet ID, in an oEmbed-compatible format.

    Parameters

    • url: string

    Returns Promise<any>

Generated using TypeDoc