i-lateral / silverstripe-twitter
Twitter integration module for Silverstripe using twitters oauth
Installs: 577
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 3
Forks: 3
Type:silverstripe-module
Requires
- silverstripe/cms: >=3.1
- silverstripe/framework: >=3.1
This package is auto-updated.
Last update: 2024-10-28 02:05:41 UTC
README
Allows you to integrate twitter with your Silverstripe website using twitter's oauth authentication.
NOTE: This is currently a proof of concept, and only supports accessing latest tweets in a template.
Author
This module was created by i-lateral.
Although this module can be extended with your own templates / JavaScript, the default makes use of.
Installation
Install this module either by downloading and adding to:
[silverstripe-root]/twitter
Then run: http://yoursiteurl.com/dev/build/
Or alternativly add to your projects composer.json
Usage
Once installed, you have to setup your integration as a "application" on Twitter's dev site.
Once this is done, you will need to add the relevent key's to your site's siteconfig (settings) under "Twitter Integration".
Now, you can access the twitter object from your templates using $Twitter
Accessing latest tweets
You can get an object set of tweets in your templates by using:
$Twitter.LatestTweets
Alternativley, you can get a rendered list by using:
$Twitter.RenderedLatestTweets