No commit activity in last 3 years
No release in over 3 years
A widget for scrivito to create a facebook stream.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

ScrivitoFacebookWidget

A Scrivito widget that inserts a Facebook stream into a page. You can add a Facebook page by its URL, or a video or a single post by its ID.

Installation

Add this line to your application's Gemfile:

gem 'scrivito_facebook_widget'

Add this line to your application stylesheet manifest:

//= require scrivito_facebook_widget

Facebook App ID

When using this widget, a warning is displayed in the browser console, saying that no app ID is set. This is no problem as long as you are not using private content from Facebook on your web page.

To remove this warning, just set a global JavaScript variable at the top of the page:

var fbAppId = yourAppId

The App ID can be generated using Facebook's developer tools.

Localization

The following code represents the default localization for English. Copy it to your en.yml and change it if necessary:

en:
  scrivito_accordion_widget:
    thumbnail:
      title: Facbook
      description: Add facebook social plugins to the page
    details:
      type: type
      url: Url
      width: 'Max Width'
      height: 'Height'
      hide_cover: Hide Cover
      show_facepile: Show Facepile
      show_posts: Show Posts
      hide_cta: Hide CTA
      no_facebook_url: No type or url is present. Insert one in details view.