Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mcfedr/twitterpushbundle
A Symfony bundle for sending a twitter stream as push notifications
https://github.com/mcfedr/twitterpushbundle
Last synced: 7 days ago
JSON representation
A Symfony bundle for sending a twitter stream as push notifications
- Host: GitHub
- URL: https://github.com/mcfedr/twitterpushbundle
- Owner: mcfedr
- License: mit
- Created: 2013-12-12T21:41:18.000Z (about 11 years ago)
- Default Branch: master
- Last Pushed: 2016-09-07T20:09:29.000Z (over 8 years ago)
- Last Synced: 2024-12-04T12:15:21.795Z (25 days ago)
- Language: PHP
- Homepage:
- Size: 80.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Twitter Push Bundle
A bundle for sending tweets as push notifications
[![Latest Stable Version](https://poser.pugx.org/mcfedr/twitterpushbundle/v/stable.png)](https://packagist.org/packages/mcfedr/twitterpushbundle)
[![License](https://poser.pugx.org/mcfedr/twitterpushbundle/license.png)](https://packagist.org/packages/mcfedr/twitterpushbundle)
[![Build Status](https://travis-ci.org/mcfedr/twitterpushbundle.svg?branch=master)](https://travis-ci.org/mcfedr/twitterpushbundle)
[![SensioLabsInsight](https://insight.sensiolabs.com/projects/f20e6ab9-aa4c-4b5c-9af1-f3691c5b1bf9/mini.png)](https://insight.sensiolabs.com/projects/f20e6ab9-aa4c-4b5c-9af1-f3691c5b1bf9)## Install
### Composer
php composer.phar require mcfedr/twitterpushbundle
### AppKernel
Include the bundle in your AppKernel
You need to also load the AWSPushBundlepublic function registerBundles()
{
$bundles = array(
...
new Mcfedr\AwsPushBundle\McfedrAWSPushBundle(),
new Mcfedr\TwitterPushBundle\McfedrTwitterPushBundle(),## Config
This is sample configuration, to add to your config.yml
mcfedr_twitter_push:
twitter:
consumer_key: 'my consumer key'
consumer_secret: 'my consumer secret'
token: 'my token'
token_secret: 'my token secret'
userid: "twitter id that you want to follow"You can find userid at [idfromuser.com](http://idfromuser.com). You can also use a comma separated list if you want to
follow multiple usersYou will also need to configure the AwsPushBundle, see the
[README](https://github.com/mcfedr/awspushbundle/blob/master/README.md) for details## Daemon
Run the daemon `./app/console mcfedr:twitter:stream --env=prod --no-debug`
There is a sample supervisord config in the supervisord folder.