getPostMetrics( )
Gets a specified post's metrics.
The getPostMetrics()
function returns a Promise that resolves to the specified post's metrics.
A post's metrics include the comments, likes, and views the post receives.
Permission Scopes
For app development, you must have one of the following permission scopes:Read Blog
Manage Blog
Read Draft Blog Posts
Learn more about permission scopes.
Method Declaration
Copy
Method Parameters
postIdstringRequired
Post ID.
Returns
Return Type:Promise<GetPostMetricsResponse>
Was this helpful?
Yes
No