A client that creating requests.

Author

Tiago Grosso tiagogrosso99@gmail.com

Since

0.2.0

Hierarchy

  • Client

Constructors

  • The constructor.

    Parameters

    • accessToken: string

      the access token.

    • pageId: string

      The id of the page.

    • Optional apiVersion: ApiVersion

      the API version

    Returns Client

Properties

accessToken: string

The API access token.

apiVersion?: ApiVersion

The API version to use on requests.

pageId: string

The id of the page. This is used on page related requests, so it should be the page for which the access token has permissions.

Methods

  • Gets the access token.

    Returns

    the access token.

    Returns string

  • Gets the page id.

    Returns

    the page id.

    Returns string

Generated using TypeDoc