The constructor.
the access token.
The id of the page.
Optional
apiVersion: ApiVersionthe API version
Private
Readonly
accessThe API access token.
Private
Optional
Readonly
apiThe API version to use on requests.
Private
Readonly
pageThe id of the page. This is used on page related requests, so it should be the page for which the access token has permissions.
the comment id.
the comment id.
Rest
...fields: CommentField[]the comment fields to retrieve from the API. If no field is specified, all are retrieved.
the container id.
Rest
...fields: ContainerField[]the fields to retrieve from the API.
Builds a new GetContentPublishingLimitRequest.
a new GetContentPublishingLimitRequest.
Rest
...fields: ContentPublishingLimitFields[]the fields to retrieve.
the hashtag.
(optional) the id of the user making the request. If omitted, the page id is used.
the hashtag id.
(optional) the id of the user making the request. If omitted, the page id is used.
Rest
...fields: HashtagMediaField[]the media fields to retrieve from the API. If no field is specified, all are retrieved.
the hashtag id.
(optional) the id of the user making the request. If omitted, the page id is used.
Rest
...fields: HashtagMediaField[]the media fields to retrieve from the API. If no field is specified, all are retrieved.
the media object id.
the media object id.
Rest
...fields: CommentField[]the fields to retrieve from the API. If no field is specified, all are retrieved.
the media object id.
Rest
...fields: MediaField[]the fields to retrieve from the API. If no field is specified, all are retrieved.
Rest
...metrics: DayMetric[]the metrics to retrieve from the API. If no metric is specified, all are retrieved.
Rest
...fields: PageField[]the fields to retrieve from the API. If no field is specified, all are retrieved.
Rest
...metrics: LifetimeMetric[]the metrics to retrieve from the API. If no metric is specified, all are retrieved.
Rest
...fields: MediaField[]the fields to retrieve from the API for each media object. If no field is specified, all are retrieved.
Rest
...metrics: WeekAndMonthMetric[]the metrics to retrieve from the API. If no metric is specified, all are retrieved.
Builds a new GetPageRecentlySearchedHashtagsRequest.
Rest
...metrics: WeekAndMonthMetric[]the metrics to retrieve from the API. If no metric is specified, all are retrieved.
the comment id.
Rest
...fields: CommentField[]the comment fields to retrieve from the API. If no field is specified, all are retrieved.
the media object id (must be of type 'Photo' or 'Video').
Rest
...metrics: SimplePostMetric[]the metrics to retrieve from the API. If no metric is specified, all are retrieved.
the media object id (must be of type 'Story').
Rest
...metrics: StoryMetric[]the metrics to retrieve from the API. If no metric is specified, all are retrieved.
Rest
...fields: PublicMediaField[]the fields to retrieve from the API for each media object. If no field is specified, all are retrieved.
the comment id.
whether to hide or show the comment (default: true).
the media object id.
the text of the comment,
Optional
children: string[]the carousel children.
Optional
caption: stringthe caption.
Optional
locationId: stringthe location id.
the image URL.
Optional
caption: stringthe caption.
Optional
locationId: stringthe location id.
Optional
userTags: UserTag[]the user_tags.
the video URL.
Optional
caption: stringthe caption.
Optional
thumbOffset: numberthe thumbnail offset.
Optional
shareToFeed: booleanwhether the reel should be shared in the feed as well.
Optional
locationId: stringthe location id.
the image URL.
Optional
caption: stringthe caption.
Optional
thumbOffset: numberthe thumbnail offset time in milliseconds.
Optional
locationId: stringthe location id.
the container id.
the comment id.
the text of the reply.
Generated using TypeDoc
A client that creating requests.
Author
Tiago Grosso tiagogrosso99@gmail.com
Since
0.2.0