Skip to main content
GET
過去 28 時間分のポストインサイトを取得する

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Scopes

tweet.read

View all Posts you can see, including those from protected accounts.

Query Parameters

tweet_ids
string[]
required

28時間分の指標を取得する対象の PostId のリスト。

Required array length: 1 - 25 elements

このツイートの一意の識別子。大きな整数を扱えない言語やツールでの問題を避けるため、文字列として返されます。

Pattern: ^[0-9]{1,19}$
Example:
granularity
enum<string>
required

メトリクスレスポンスの粒度。

Available options:
Daily,
Hourly,
Weekly,
Total
Example:

"Total"

requested_metrics
enum<string>[]
required

履歴リクエストで取得するメトリクス。

Minimum array length: 1
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
engagement.fields
enum<string>[]

レスポンスに含める Engagement のフィールドを、カンマ区切りのリストで指定します。 Engagement オブジェクトで利用可能なフィールドです。

Minimum array length: 1
Available options:
errors,
measurement
Example:

Response

リクエストが成功しました。

data
object[]
Minimum array length: 1
errors
object[]
Minimum array length: 1

IETF RFC 7807 (https://tools.ietf.org/html/rfc7807) で定義された HTTP Problem Details オブジェクト。