Engagement Metrics
Get Historical Metrics for Posts
Get Historical Metrics for Posts.
GET
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Query Parameters
List of PostIds for historical metrics.
Unique identifier of this Tweet. This is returned as a string in order to avoid complications with languages and tools that cannot handle large integers.
Example:
["20"]
YYYY-MM-DDTHH:mm:ssZ. The UTC timestamp representing the end of the time range.
YYYY-MM-DDTHH:mm:ssZ. The UTC timestamp representing the start of the time range.
granularity of metrics response.
Available options:
Daily
, Hourly
, Weekly
, Total
Example:
"Total"
request metrics for historical request.
Available options:
AppInstallAttempts
, AppOpens
, DetailExpands
, EmailTweet
, Engagements
, Follows
, HashtagClicks
, Impressions
, Likes
, LinkClicks
, MediaEngagements
, MediaViews
, PermalinkClicks
, ProfileVisits
, QuoteTweets
, Replies
, Retweets
, UniqueVideoViews
, UrlClicks
, UserProfileClicks
, VideoCompletions
, VideoPlayed25Percent
, VideoPlayed50Percent
, VideoPlayed75Percent
, VideoStarts
, VideoViews
A comma separated list of Engagement fields to display.
Available options:
errors
, measurement
Example:
["errors", "measurement"]
Response
200
application/json
The request has succeeded.
An Engagement Api Response.
An HTTP Problem Details object, as defined in IETF RFC 7807 (https://tools.ietf.org/html/rfc7807).