Skip to content

dachcom-digital/pimcore-social-data-youtube-connector

Repository files navigation

Pimcore Social Data - YouTube Connector

Software License Latest Release Tests PhpStan

This Connector allows you to fetch social posts from YouTube.

image

Release Plan

Release Supported Pimcore Versions Supported Symfony Versions Release Date Maintained Branch
3.x 11.0 6.2 07.11.2023 Feature Branch master
2.x 10.1 - 10.6 5.4 05.01.2022 Unsupported 2.x
1.x 6.0 - 6.9 3.4, ^4.4 22.10.2020 Unsupported 1.x

Installation

I. Add Dependency

"require" : {
    "dachcom-digital/social-data" : "~3.0.0",
    "dachcom-digital/social-data-youtube-connector" : "~3.0.0",
}

Add Bundle to bundles.php:

return [
    SocialData\Connector\Youtube\SocialDataYoutubeConnectorBundle::class => ['all' => true],
];

Install Assets

bin/console assets:install public --relative --symlink

Enable Connector

# config/packages/social_data.yaml
social_data:
    social_post_data_class: SocialPost
    available_connectors:
        -   connector_name: youtube

YouTube Backoffice

Some hints to set up your YouTube app:

Connector Configuration

image

Now head back to the backend (System => Social Data => Connector Configuration) and checkout the YouTube tab.

  • Click on Install
  • Click on Enable

Connection

YouTube is auto connected after a valid API Key has been set.

Feed Configuration

Name Description
Fetch Type Choose the fetch type. Values: Client ID or Playlist ID
Value The client id or playlist id
Limit Define a limit to restrict the amount of social posts to import (Default: 50)

Third-Party Requirements

To use this connector, this bundle requires some additional packages:

  • google/apiclient: Required for Google API (Mostly already installed within a PIMCORE installation)

License

DACHCOM.DIGITAL AG, Löwenhofstrasse 15, 9424 Rheineck, Schweiz
dachcom.com, [email protected]
Copyright © 2024 DACHCOM.DIGITAL. All rights reserved.

For licensing details please visit LICENSE.md

Upgrade Info

Before updating, please check our upgrade notes!