Download the PHP package kmayo-ss/twitter-stripe without Composer
On this page you can find all versions of the php package kmayo-ss/twitter-stripe. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download kmayo-ss/twitter-stripe
More information about kmayo-ss/twitter-stripe
Files in kmayo-ss/twitter-stripe
Package twitter-stripe
Short Description Oauth connector for Twitter
License BSD-3-Clause
Informations about the package twitter-stripe
Introduction
The Twitter module supports OAuth on the 1.1 version of Twitter. It uses the Twitter library codebird-php (https://github.com/jublonet/codebird-php)
Copyright (C) 2010-2014 [email protected]
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Maintainer Contact
* Kirk Mayo kirk (at) silverstripe (dot) com
Requirements
* SilverStripe 3.0 +
Features
- Connects to Twitter API 1.1 via OAuth
- Fetches tweets for a user timeline
Composer Installation
composer require kmayo-ss/twitter-stripe
Installation Manual
- Download the module form GitHub (Composer support to be added)
- Extract the file (if you are on windows try 7-zip for extracting tar.gz files
- Make sure the folder after being extracted is named 'twitter-stripe'
- Place this directory in your sites root directory. This is the one with framework and cms in it.
- Run in your browser -
/dev/build
to rebuild the database.
Usage
To use the module you will need add your OAuth details to the config, see below for example yml config
To fetch Tweets Twitter you need to call the constructor and the method getTweets as per the example below
To send tweets the constructor needs to be called and the method sendTweet needs to be used as below
TODO
Add more Twitter features