xrow / ezpublish-twitterimport-bundle
Delivers an importer for twitter.
Installs: 4 323
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 13
Forks: 2
Type:import
pkg:composer/xrow/ezpublish-twitterimport-bundle
Requires
- php: >=5.3.0
- guzzle/guzzle: ~3.7
This package is auto-updated.
Last update: 2025-10-16 05:09:51 UTC
README
Delivers an importer for twitter.
Installation
-
To install XrowTwitterImportBundle with Composer just add the following to your
composer.jsonfile:// composer.json { //... "require":{ // ... "xrow/ezpublish-twitterimport-bundle": "dev-master" } }Then, you can install the new dependencies by running Composer's
updatecommand from the directory where yourcomposer.jsonfile is located:$ php composer.phar updateNow, Composer will automatically download all required files, and install them for you.
-
You can configure the baseurl, consumer_key, consumer_secret, token and token_secret in your twitter.conf.yml. Examples:
// ezpublish/config/twitter.conf.yml parameters: twitter.baseurl: https://api.twitter.com/1.1 twitter.config: consumer_key: xxxxxxxxxxxxxx consumer_secret: xxxxxxxxxxxxxxxxxxxxxxx token: xxxxxxxxxxxxxxxxxxxxxx token_secret: xxxxxxxxxxxxxxxxxxxxxxx -
Import
twitter.conf.ymlinezpublish/config/ezpublish.ymlby adding:imports: - { resource: twitter.conf.yml } parameters: import.user.config: import_user: xxxx(username)<-- If not given or empty, then the username defaults to 'admin' -
Register
EzPublishTwitterImportBundleinezpublish/ezPublishKernel.phpby adding this line to$bundlesinregisterBundles()method:new xrow\EzPublishTwitterImportBundle\XrowTwitterImportBundle(),