Account#

Whenever you're dealing with an account in your template, you're actually working with a Account object.

Attributes#

AttributeDescription
nameThe name of the account.
handleThe handle of the account.
primaryColorThe primary brand color of the provider connected.
iconThe SVG icon of the account provider connected.
providerNameThe name of the account provider connected.

Methods#

MethodDescription
isConfigured()Whether the account provider has been configured.
isConnected()Whether the account provider has been connected and has a token.
getToken()The access token for a account provider.

Previous ← Post Queries Next Account Provider →

Get started with Social Poster

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