Post #

Whenever you're dealing with a post in your template, you're actually working with a Post object.

Attributes #

AttributeDescription
idID of the post.
accountIdThe account ID this post was made from.
ownerIdThe entry ID this post was made on.
ownerSiteIdThe site ID this post was made on.
ownerEntry this post was made on.
ownerTypeThe class name of the element this post was made on.
settingsSerialized content that was used to send out this post.
successBoolean whether the post was successfully sent to social media platforms.
responseA short response from the social media provider.
dataA full response from the social media provider.

Methods #

MethodDescription
getAccount()Returns the account this post was made from.
getProvider()Returns the provider to post was made from.

Get started with Social Poster

Available for Craft 3. Get it from the plugin store.