Template Guides
Choosing Share Providers
Choose providers according to the feature you need. A provider that creates share links may not support follower or share counts, so use the corresponding capability-specific collection.
Calls Used in This Task
craft.socialShare.getProviders()
Returns a collection of all Provider objects.
craft.socialShare.getProvider(handle)
Returns a Provider for the provided handle.
craft.socialShare.getFollowersCountProviders()
Returns a collection of all Provider objects that support Follower Counts.
craft.socialShare.getSharesCountProviders()
Returns a collection of all Provider objects that support Share Counts.
craft.socialShare.getShareButtonProviders()
Returns a collection of all Provider objects that support Share Buttons.
Last updated: Sept 14, 2026, 8:34:55 PM