marcossegovia/twitter-api-client-bundle

Integration with Symfony of the http client to easy access Twitter API services

v1.0 2016-05-29 16:57 UTC

This package is not auto-updated.

Last update: 2025-02-01 20:52:58 UTC


README

A Symfony Bundle for php-twitter-api-client

##How to install?

    "require": {
        "marcossegovia/twitter-api-client-bundle": "1.*"
    }

##How to use it?

First of all include the Bundle into your AppKernel.php

class AppKernel extends Kernel
{
    public function registerBundles()
    {
        $bundles = [
            //...
            new MarcosSegovia\TwitterApiClientBundle\TwitterApiClientBundle()

And provide into your config.yml your Twitter API_KEY and API_SECRET like the following example:

twitter_api_client:
    twitter:
        api_key: your_raw_api_key
        api_secret: your_raw_api_secret