{ "info": { "author": "Martey Dodoo", "author_email": "django4facebook@marteydodoo.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Facebook integration for your Django website\n=============================================\n\nInstallation:\n------------\nSimply add ``django_facebook`` to your INSTALLED_APPS and configure\nthe following settings:\n\n FACEBOOK_APP_ID = ''\n FACEBOOK_SECRET_KEY = ''\n\n # Optionally set default permissions to request, e.g: ['email', 'user_about_me']\n FACEBOOK_PERMS = []\n \n # And for local debugging, use one of the debug middlewares and set:\n FACEBOOK_DEBUG_TOKEN = ''\n FACEBOOK_DEBUG_UID = ''\n FACEBOOK_DEBUG_COOKIE = ''\n FACEBOOK_DEBUG_SIGNEDREQ = ''\n\n\nTemplates:\n---------\nA few helpers for using the Javascript SDK can be enabled by adding\nthis to your base template in the ``
`` section:\n\n {% load facebook %}\n {% facebook_init %}\n {% block facebook_code %}{% endblock %}\n {% endfacebook %}\n\nAnd this should be added just before your ```` tag:\n\n {% facebook_load %}\n \nThe ``facebook_load`` template tag inserts the code required to\nasynchronously load the facebook javascript SDK. The ``facebook_init``\ntag calls ``FB.init`` with your configured application settings. It is\nbest to put your facebook related javascript into the ``facebook_code``\nregion so that it can be called by the asynchronous handler.\n\nYou may find the ``facebook_perms`` tag useful, which takes the setting\nin FACEBOOK_PERMS and prints the extended permissions out in a\ncomma-separated list.\n\n