{ "info": { "author": "Jean-Pierre Chauvel", "author_email": "jchauvel@gmail", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "fbauth\n======\n\nRequirements\n============\n* Django 1.6+\n\nInstallation\n============\npip install django-fbauth-templatag\n\nTesting\n=======\n\nYou can try out fbauth using the installed demo included in the project. Just\nrun the `runserver` command to look at the demo.\n\nInstructions\n============\nLoad the `fbauth` template-tag library into your template, then call\n`fbauth_css` inside your `head` tag and call the `fbauth_button` wherever you\nwant the Facebook button to be rendered.\n\nE.g.\n\n```django\n{% load fbauth %}\n\n\n\n \n My App\n {% fbauth_css %}\n\n\n {% fbauth_button %}\n\n\n```\n\nConfigure the `FBAUTH_FACEBOOK_APP_ID` variable in you `settings` module with\nyou Facebook app ID.\n\nConfigure the `FBAUTH_REDIRECT_URL` variable in your `settings` module with the\nurl that should be receiving the access token from facebook. Sometimes it's more\nconvinient to put it inside the `__init__` module of your app so that you can\ntake advantage of Django's `reverse` function.\n\nThere's also a `FBAUTH_FACEBOOK_LOCALEL` variable which you can use to specify\nan ISO-15897 (also know as POSIX locale) locale for the Facebook API. Users of\nyour project will see the Facebook UI translated in the locale you specify. The\ndefault locale is `en_US`.\n\nE.g.\n\n```python\n# demo/__init__.py\nfrom django.core.urlresolvers import reverse\nfrom django.conf import settings\n\nsetattr(settings, 'FBAUTH_REDIRECT_URL',\n reverse('demo:redirect') + '?access_token={0}')\n```\n\nRemember that your redirection URL should include the format token `{0}` to\nindicate where Facebook's access token should be written.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/hellhound/django-fbauth-templatetag", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-fbauth-templatetag", "package_url": "https://pypi.org/project/django-fbauth-templatetag/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-fbauth-templatetag/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/hellhound/django-fbauth-templatetag" }, "release_url": "https://pypi.org/project/django-fbauth-templatetag/0.2/", "requires_dist": null, "requires_python": null, "summary": "Django app that comes with a simple template tag to place a Facebook log-in button in your template", "version": "0.2" }, "last_serial": 1219751, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "99f33fb026a2ebfb4b8a89c99f480839", "sha256": "6435f54c99f800b5468c7b1b2c24715231fe89c2d7e1dc1074fd4263200af2ee" }, "downloads": -1, "filename": "django-fbauth-templatetag-0.1.tar.gz", "has_sig": false, "md5_digest": "99f33fb026a2ebfb4b8a89c99f480839", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8476, "upload_time": "2014-09-10T03:36:07", "url": "https://files.pythonhosted.org/packages/f2/44/a0ae148cf57232a7990e02decaa0ffaa8f38651049feaf80e1b1eae9c6e6/django-fbauth-templatetag-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "aa6f7223aa2764aa341312433bea87f0", "sha256": "819a9da02409d88abb6b141d80adbffe029d1badefb5220fc769cd21f4209993" }, "downloads": -1, "filename": "django-fbauth-templatetag-0.2.tar.gz", "has_sig": false, "md5_digest": "aa6f7223aa2764aa341312433bea87f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8498, "upload_time": "2014-09-10T18:15:25", "url": "https://files.pythonhosted.org/packages/47/64/fab7ef87ed77e8a2dee07815b784d62f05fb81460511ce829c0a56e1242f/django-fbauth-templatetag-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "aa6f7223aa2764aa341312433bea87f0", "sha256": "819a9da02409d88abb6b141d80adbffe029d1badefb5220fc769cd21f4209993" }, "downloads": -1, "filename": "django-fbauth-templatetag-0.2.tar.gz", "has_sig": false, "md5_digest": "aa6f7223aa2764aa341312433bea87f0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8498, "upload_time": "2014-09-10T18:15:25", "url": "https://files.pythonhosted.org/packages/47/64/fab7ef87ed77e8a2dee07815b784d62f05fb81460511ce829c0a56e1242f/django-fbauth-templatetag-0.2.tar.gz" } ] }