Abstract te type of metrics. This matches the type of media object (Post or Story).
Protected constructorThe constructor.
the access token.
the media object id (must be of type 'Post').
the metrics to retrieve from the API.
Protected Optional apiThe API Version.
Private Readonly mediaThe media object id.
Protected paramsThe request params.
the page option token to create the param.
Builds the config of the request.
the request config.
Executes the requests and returns a promise of the parsed response.
the promise of a parsed response.
Protected methodProtected parseParses the response into a response object.
the parsed response.
Protected urlSets the API version that the request will use.
this request, for use in chain invocation.
the API version to use.
Adds the limit param to the request.
this request, for use in chain invocation.
the number of objects to retrieve.
Adds a paging param to the request.
this request, for use in chain invocation.
the page option token to create the param.
Adds the range params to the request.
this request, for use in chain invocation.
the since param.
the until param.
Generated using TypeDoc
An abstract class to represent request that gets insights about a media object.
Author
Tiago Grosso tiagogrosso99@gmail.com
Since
0.2.0