django-like-button 0.0.6

Django App for adding a Facebook like button
django-like-button is a Django app that makes it easy to use a Facebook like button in your Django application. You just need to do the following.

Installation

 Install django-like-button using easy_setup or pip:

 pip install django-like-button

 add like_button to your INSTALLED_APPS in your django settings file:

 INSTALLED_APPS = (
 # all
 # other
 # apps
 'like_button',
 )


 Add "FACEBOOK_APP_ID" setting to your django settings file with your facebook application Id.

 in settings.py:

 FACEBOOK_APP_ID = "your appID"
 FACEBOOK_SHOW_SEND = "true" or "false, default is "true"
 FACEBOOK_LIKE_WIDTH = "numeric value for width", default is true
 FACEBOOK_SHOW_FACES = "true" or "false, default is "true"
 FACEBOOK_FONT = "font", default is "arial"


 Add the template tag code into your base template before the body tag.

 Where you need the like button:

 {% load like_button %}

 At the bottom of the page before the tag put this (you only need to do this once):

 {% like_button_js_tag %}

last updated on:
February 16th, 2012, 0:09 GMT
price:
FREE!
homepage:
github.com
license type:
BSD License 
developed by:
John Costa
category:
ROOT \ Internet \ HTTP (WWW)
django-like-button
Download Button

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Rate it!

Add your review!

SUBMIT