Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.3 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67a
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Internet > Django Plugins

    django-facebook 5.0.13

    Download button

    No screenshots available
    Downloads: 906  Tell us about an update
    User Rating:
    Rated by:
    Fair (2.5/5)
    2 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Thierry Schellenbach | More programs
    GPL v3 / FREE
    September 20th, 2012, 22:36 GMT
    ROOT / Internet / Django Plugins

     Read user reviews (0)  Refer to a friend  Subscribe

    django-facebook description

    Facebook open graph API auth backend implementation using the Django web framework and Python

    django-facebook is a Django app that provides login and registration functionality using the new facebook open graph API.

     * Actually creates user models and profiles
     * Robust facebook user data -> django account conversion

    Implementation:

    Step 1 - Settings

    Define the settings in django_facebook/settings.py in your settings.py file.

    Step 2 - Url config

    add

     url(r'^facebook/', include('django_facebook.urls')),

    to your global url.py file.

    Step 3 - Ensure the FB JS api is available on all pages you want to login

    [Facebook JS API](http://developers.facebook.com/docs/reference/javascript/)

    Step 4 - Update your models

    Add to your user profile model

     about_me = models.TextField(blank=True, null=True) facebook_id = models.IntegerField(blank=True, null=True) facebook_name = models.CharField(max_length=255, blank=True, null=True) facebook_profile_url = framework_fields.URLTextField(blank=True, null=True) website_url = framework_fields.URLTextField(blank=True, null=True) blog_url = framework_fields.URLTextField(blank=True, null=True) image = models.ImageField(blank=True, null=True) date_of_birth = models.DateField(blank=True, null=True)

    Step 5 - Template

    See examples/connect.html.

    For more details, see the [Facebook docs](http://developers.facebook.com/docs/).


    Product's homepage

    Requirements:

    · Python
    · Django
    · django.contrib.auth
    · django-registration
    · python-cjson

      


    TAGS:

    Facebook login | Facebook registration | open graph API | Facebook | login | registration

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM