You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

cmsplugin-fbgallery

Package Overview
Dependencies
Maintainers
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmsplugin-fbgallery

facebook gallery plugin for django-cms

1.1.0
pipPyPI
Maintainers
3

Stories in Ready cmsplugin-fbgallery

Build Status

Django CMS plugin for facebook album gallery

This projects helps integrate Facebook album into your Django CMS based website. The plugin provide superb performance compared to the Ajax based alternatives and works even on IE > 6 without any issues. Also, with caching enabled it loads fast without any lag.

Installation:

Add the following line into your requirements.txt file:

https://github.com/changer/cmsplugin-fbgallery/archive/v1.0.2.zip

And add the Facebook App ID and Secret in your settings file:

INSTALLED_APPS = (
                  `cmsplugin_fbgallery`,
                  )
                  
FB_APP_ID = os.environ.get('FB_APP_ID')
FB_APP_SECRET = os.environ.get('FB_APP_SECRET')

Since this is secret information, we encourage to keep the secret out of source control. This also allows easy configuration on platforms like heroku. You can obtain the Facebook App ID and Secret by creating an app at facebook for developers

Once done, add a block into the django template where you want to use the plugin to work, preferably in base.html:

{% placeholder facebook-gallery %}

Usage:

In order to use, add the plugin into the intended placeholder and add facebook album Id in the admin and save the plugin and page. Once done, you will have the gallery up and running for you.

Finding Album ID:

A facebook Album URL contains the information about the Album ID, here is how you get the Album ID:

If URL is: https://www.facebook.com/pagename/photos/?tab=album&album_id=1234567890

Your Album ID is: 1234567890 .

Scope:

The future versions with bring in more cleanup and fixes to the plugin.

Bugs/Issues:

Create an issue here with proper detail: https://github.com/changer/cmsplugin-fbgallery/issues

Inspirations/Credits:

This projects seeks some inspirations from the work of @dantium and @driesdesmet on django-fbgallery but adapts it to more CMS plugin way.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts