- implements TimestampedItem
Represents a post on a social media platform.
options: SocialMediaOptions
const socialMediaPost = new SocialMediaPost({
... // see fields below
})- Type: Date
When the post was authored.
- Type: Date
When the post was fetched by a Channel.
- Type:
string
The author of the post, typically a username.
- Type:
string
The URL of the post.
- Type: Platform
The social media platform that the post was authored on.
- Type:
string
The ID of the post on the platform it was authored on.
- Type:
string
The textual content of the post.
- Type:
Object.<string, any>
Additional raw data about the post returned by an external data source like a web API.
- Returns: Date
Returns the value of the socialMediaPost.authoredAt field.
See socialMediaPost.authoredAt.
See socialMediaPost.fetchedAt.
See socialMediaPost.url.
See socialMediaPost.platformID.
See socialMediaPost.raw.
A social media platform.
- Value:
'facebook'
- Value:
'instagram'
- Value:
'twitter'