Giter Club home page Giter Club logo

social-media-aggregator-twitter-plugin's Introduction

Milosa Social Media Aggregator Twitter Plugin

Build Status Coverage Status

Twitter plugin for Milosa Social Media Aggregator Bundle

Installation

composer require milosa/social-media-aggregator-twitter-plugin

Usage

Get Twitter API access here: https://developer.twitter.com/en/apply/user You can add multiple search terms. Currently, these search types are supported:

  • profile
  • hashtag

Add the following config to your configuration file:

Sample config file

milosa_social_media_aggregator:
    plugins:
        twitter:
            auth_data:
                consumer_key: '%env(TWITTER_CONSUMER_KEY)%'
                consumer_secret: '%env(TWITTER_CONSUMER_SECRET)%'
                oauth_token: '%env(TWITTER_OAUTH_TOKEN)%'
                oauth_token_secret: '%env(TWITTER_OAUTH_TOKEN_SECRET)%'
            sources:
                - search_term: FamilyGuyOnFox #This will use these defaults: search_type: profile, image_size: thumb and number_of_tweets: 10
                - search_type: hashtag
                  search_term: Rotterdam
                  number_of_tweets: 20
                - search_type: profile
                  search_term: nasa
                  number_of_tweets: 15
                  image_size: thumb    
            enable_cache: true
            cache_lifetime: 3600
            template: twitter.twig

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.