dachcom-digital/social-data-twitter-connector

Pimcore Social Data Twitter Connector

Installs: 117

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 6

Forks: 0

Open Issues: 0

Type:pimcore-social-data-connector-bundle

v2.0.0 2022-01-05 15:29 UTC

This package is auto-updated.

Last update: 2022-06-10 11:15:14 UTC


README

Software License Latest Release Tests PhpStan

This Connector allows you to fetch social posts from Twitter (API v2).

image

Release Plan

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

Installation

I. Add Dependencies

"require" : {
    "dachcom-digital/social-data" : "~2.0.0",
    "dachcom-digital/social-data-twitter-connector" : "~1.0.0"
}

II. Register Connector Bundle

// src/Kernel.php
namespace App;

use Pimcore\HttpKernel\BundleCollection\BundleCollection;

class Kernel extends \Pimcore\Kernel
{
    public function registerBundlesToCollection(BundleCollection $collection)
    {
        $collection->addBundle(new SocialData\Connector\Twitter\SocialDataTwitterConnectorBundle());
    }
}

III. 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: twitter

Twitter Backoffice

Some hints to set up your Twitter app:

Connector Configuration

image

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

  • Click on Install
  • Click on Enable

Connection

Twitter is auto connected after you have filled out the connector configuration fields.

Feed Configuration

Name Description
User Id Defines which user entries should be imported
Count Define a limit to restrict the amount of social posts to import

Copyright and license

Copyright: DACHCOM.DIGITAL
For licensing details please visit LICENSE.md

Upgrade Info

Before updating, please check our upgrade notes!