Function FetchPost

  • Type Parameters

    Parameters

    • token: string

      OAuth2 token from Tumblr

    • blogIdentifier: string

      Identifier of the blog to fetch posts from

    • id: string | number

      ID of the post to fetch

    • Optional reblogInfo: boolean

      Whether to include reblog info

    • Optional notesInfo: boolean

      Whether to include notes info

    • filter: "text" | "raw" | "none" = "none"

      Filter to apply to the posts (raw, text, none)

    • npf: boolean = true

      Whether to use the new post format

    • basicAuth: boolean = false

      Whether to treat the token argument as an OAuth2 token or a basic consumer ID

    Returns Promise<PostType>

Generated using TypeDoc