Skip to content

milosa/social-media-aggregator-youtube-plugin

Repository files navigation

Milosa Social Media Aggregator Youtube Plugin

Build Status Coverage Status

Youtube plugin for Milosa Social Media Aggregator Bundle

Installation

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

Usage

Get Youtube API access here: https://developers.google.com/youtube/v3/getting-started

Add the following config to your configuration file:

Sample config file

milosa_social_media_aggregator:
    plugins:
        youtube:
            auth_data:
                api_key: '%env(YOUTUBE_API_KEY)%'
            enable_cache: true
            cache_lifetime: 3600
            number_of_items: 20
            channel_id: UCLA_DiR1FfKNvjuUpBHmylQ
            template: youtube.twig