PHPackages                             xrow/ezpublish-twitterimport-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. xrow/ezpublish-twitterimport-bundle

ActiveImport[Utility &amp; Helpers](/categories/utility)

xrow/ezpublish-twitterimport-bundle
===================================

Delivers an importer for twitter.

04.3k2PHP

Since Jul 10Pushed 11y ago13 watchersCompare

[ Source](https://github.com/xrowgmbh/EzPublishTwitterImportBundle)[ Packagist](https://packagist.org/packages/xrow/ezpublish-twitterimport-bundle)[ RSS](/packages/xrow-ezpublish-twitterimport-bundle/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

XrowTwitterImportBundle
=======================

[](#xrowtwitterimportbundle)

Delivers an importer for twitter.

Installation
------------

[](#installation)

1. To install XrowTwitterImportBundle with Composer just add the following to your `composer.json` file:

    ```
    // composer.json
    {
        //...
        "require":{
            // ...
            "xrow/ezpublish-twitterimport-bundle": "dev-master"
         }
    }

    ```

    Then, you can install the new dependencies by running Composer's `update` command from the directory where your `composer.json` file is located:

    ```
    $ php composer.phar update

    ```

    Now, Composer will automatically download all required files, and install them for you.
2. 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

    ```
3. Import `twitter.conf.yml` in `ezpublish/config/ezpublish.yml` by adding:

    ```
    imports:
         - { resource: twitter.conf.yml }
    parameters:
        import.user.config:
            import_user: xxxx(username)
