2017 © Pedro Peláez
 

contao-bundle contao-twitter

Twitter integration for Contao

image

terminal42/contao-twitter

Twitter integration for Contao

  • Thursday, July 27, 2017
  • by aschempp
  • Repository
  • 3 Watchers
  • 1 Stars
  • 461 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 9 % Grown

The README.md

terminal42/contao-oembed

A Contao 4 bundle that provides several oEmbed widgets (Twitter, Instagram) for a website., (*1)

Features

This bundle provides content elements that can be added to your website., (*2)

  1. Single Tweet
    A new content element to embed a single tweet., (*3)

  2. Twitter user timeline
    A new content element to embed a user's timeline., (*4)

  3. Instagram post
    Embed an Instagram post into your website., (*5)

  4. Facbeook page / post / video
    Embed a Facebook post, page or video into your website., (*6)

  5. TikTok video
    Embed a TikTok video into your website., (*7)

  6. Podigee Podcast
    Embed a Podigee Potcast into your website., (*8)

How does it work?

You provide a link to a tweet or post, the extension will fetch and output the embed code by the oEmbed provider., (*9)

Installation

Choose the installation method that matches your workflow!, (*10)

Installation via Contao Manager

Search for terminal42/contao-oembed in the Contao Manager and add it to your installation. Finally, update the packages., (*11)

Manual installation

Add a composer dependency for this bundle. Therefore, change in the project root and run the following:, (*12)

composer require terminal42/contao-oembed

Depending on your environment, the command can differ, i.e. starting with php composer.phar … if you do not have composer installed globally., (*13)

Then, update the database via the Contao install tool., (*14)

Configuration

The Facebook API requires an access key to fetch oEmbed for Facebook or Instagram content., (*15)

You need to register your Contao installation as an app on facebook and create a app token according to the documentation: https://developers.facebook.com/docs/facebook-login/access-tokens#apptokens, (*16)

The app token (or client token) can be set in the bundle configuration:, (*17)

// config/config.yml
terminal42_oembed:
    facebook_token: 'xxxx|xxxx'

WARNING: If you do not configure a Facebook token, the extension will use a generic app authentication that is controlled by terminal42 and has request limits set by Facebook upon which we have no influence. The API token can be invalidated at any time without notice by terminal42 or Facebook., (*18)

License

This bundle is released under the MIT license, (*19)

The Versions

27/07 2017

dev-develop

dev-develop

Twitter integration for Contao

  Sources   Download

LGPL-3.0

The Requires

 

The Development Requires