A plugin to enable twitter timelines and follow buttons in the Apache Sling CMS.
Download the build the code or latest release and install it into an Apache Sling CMS instance via the OSGi console at {sling_cms_host}/system/console/bundles.
To use this plugin, you must enable it in the Component Policy you want in Sling CMS.
Once the twitter components are enabled, you can add it to any page by selecting + then Twitter > Component Name.
The components can also be included from any other component using the following code:
Follow Button:
<sling:include path="{some_path}" resourceType="danklco-com/twitter/components/follow-button" />
Timeline Embed:
<sling:include path="{some_path}" resourceType="danklco-com/twitter/components/timeline-embed" />
This project requires Apache Maven 3 and Java JDK8. To build the project run:
mvn clean install
To install the bundle into a local Sling CMS instance running on port 8080, run:
mvn clean install -P autoInstallBundle