2017 © Pedro Peláez
 

silverstripe-module silverstripe-twitter

Twitter integration module for Silverstripe using twitters oauth

image

i-lateral/silverstripe-twitter

Twitter integration module for Silverstripe using twitters oauth

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 3 Forks
  • 1 Open issues
  • 1 Versions
  • 48 % Grown

The README.md

Silverstripe Twitter Integration

Allows you to integrate twitter with your Silverstripe website using twitter's oauth authentication., (*1)

NOTE: This is currently a proof of concept, and only supports accessing latest tweets in a template., (*2)

Author

This module was created by i-lateral., (*3)

Although this module can be extended with your own templates / JavaScript, the default makes use of., (*4)

Installation

Install this module either by downloading and adding to:, (*5)

[silverstripe-root]/twitter, (*6)

Then run: http://yoursiteurl.com/dev/build/, (*7)

Or alternativly add to your projects composer.json, (*8)

Usage

Once installed, you have to setup your integration as a "application" on Twitter's dev site., (*9)

Once this is done, you will need to add the relevent key's to your site's siteconfig (settings) under "Twitter Integration"., (*10)

Now, you can access the twitter object from your templates using $Twitter, (*11)

Accessing latest tweets

You can get an object set of tweets in your templates by using:, (*12)

$Twitter.LatestTweets, (*13)

Alternativley, you can get a rendered list by using:, (*14)

$Twitter.RenderedLatestTweets, (*15)

The Versions

21/01 2016

dev-master

9999999-dev http://github.com/i-lateral/silverstripe-twitter

Twitter integration module for Silverstripe using twitters oauth

  Sources   Download

BSD-3-Clause

The Requires

 

oauth silverstripe twitter