Template Guides
Available Variables
The following methods are available to call in your Twig templates:
craft.socialFeeds.getAllFeeds()
Returns a collection of Feed objects.
craft.socialFeeds.getAllEnabledFeeds()
Returns a collection of enabled Feed objects.
craft.socialFeeds.getFeedById(id)
Returns a Feed object by its ID.
craft.socialFeeds.getFeedByHandle(handle)
Returns a Feed object by its handle.
craft.socialFeeds.getAllSources()
Returns a collection of Source objects.
craft.socialFeeds.getAllEnabledSources()
Returns a collection of enabled Source objects.
craft.socialFeeds.getAllConfiguredSources()
Returns a collection of configured Source objects.
craft.socialFeeds.getSourceById(id)
Returns a Source object by its ID.
craft.socialFeeds.getSourceByHandle(handle)
Returns a Source object by its handle.
craft.socialFeeds.getPosts(feedHandle, options)
Returns a collection of Post objects for the provided Feed handle.
craft.socialFeeds.renderPosts(feedHandle, options)
Returns the HTML of rendered Post objects for the provided Feed handle.
Last updated: May 4, 2026, 9:12:13 AM