{ "info": { "author": "Noam Sutskever", "author_email": "noamsu@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "About \n==============\n\nThis package adds facebook connect authentication to a Django web\nsite. Many of the existing packages are either out of date, using soon to be deprecated facebook\napis (along with out of date documentation), or simply do not work quite right. \n\nThis package is small, does not have external dependencies, and should \"just work\".\n\n\nInstall\n==============\n\nYou will need to create a Facebook application for facebook connect to work.\n\nSet the \"Site URL\", located in your facebook applications settings to:\n\n\thttp:///facebook_connect\n\nNote: during development, you may set the above to localhost, e.g. http://127.0.0.1:8000/facebook_connect\n\nNext, install this package by running:\n\n\tpip install django-facebook-connect\n\nConfigure the following settings in your settings.py:\n\n\tFACEBOOK_LOGIN_REDIRECT = \"/\" # (optional, defaults to \"/\")\n\t\n\tFACEBOOK_APP_ID = \"\" # required\n\t\n\tFACEBOOK_APP_SECRET = \"\" # required\n\t\n\tFACEBOOK_SCOPE = \"email\"\t\t\t\t\t\t # (optional, defaults to \"email\")\n\nNote: FACEBOOK_SCOPE determines what permissions facebook will ask from your users,\n\t and in turn, give you access to. For example, your scope may look like:\n\t 'read_stream,publish_stream,offline_access,user_photos', whereas above\n\t we are only asking for email access. This package comes with the\n\t python_facebook_sdk included for retrieving user information - but\n\t does not gather more than the name and email at this time (perhaps\n\t in future versions).\n\nAdd \"facebook_connect\" to your list of installed apps:\n\n\tINSTALLED_APPS = (\n \t'facebook_connect',\n\t)\n\nAnd include faceboook_connect.urls within your urls.py:\n\n\turlpatterns = pattern('',\n \n \t\t(r'^facebook_connect/', include('facebook_connect.urls')),\n\n\t)\n\nFinally, run:\n\n\tpython manage.py syncdb \n\nOr, if you're using South:\n\n\tpython manage.py schemamigration facebook_connect --initial\n\nto create the initial migration, and\n\n\tpython manage.py migrate facebook_connect\n\nto migrate the database.\n\nUsage\n==============\n\nThese tags are now usable in your templates:\n\n\t{% load facebook_connect %}\n\t\n\t{% facebook_button %} \n\n\t{% facebook_script %}\n\n\nIf you would like to override the default button (facebook_button tag), to choose a different image and have more control, you'll need to trigger (on click) the 'facebook_connect()' function that starts the login process.\n\nCredits\n==============\n\nInspiration was taken from this \"django-facebookconnect\" package: https://github.com/teebes/django-facebookconnect/\nas well as the views/models responsible for the facebook --> django user mapping.\n\nSecurity code for validating the signedRequest is by Sunil Arora:\nhttp://sunilarora.org/parsing-signedrequest-parameter-in-python-bas", "description_content_type": null, "docs_url": null, "download_url": "http://github.com/noamsu/django-facebook-connect/downloads", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/noamsu/django-facebook-connect", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "django-facebook-connect", "package_url": "https://pypi.org/project/django-facebook-connect/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-facebook-connect/", "project_urls": { "Download": "http://github.com/noamsu/django-facebook-connect/downloads", "Homepage": "http://github.com/noamsu/django-facebook-connect" }, "release_url": "https://pypi.org/project/django-facebook-connect/1.0.1/", "requires_dist": null, "requires_python": null, "summary": "Add facebook connect authentication to your Django website.", "version": "1.0.1" }, "last_serial": 789605, "releases": { "1.0": [ { "comment_text": "", "digests": { "md5": "d577f1ce2318071597fdc782257f4b33", "sha256": "2d93d0348798918b31845ec11bbf0a0d6aca912bd9869a8688740baaf3c3039d" }, "downloads": -1, "filename": "django-facebook-connect-1.0.tar.gz", "has_sig": false, "md5_digest": "d577f1ce2318071597fdc782257f4b33", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10154, "upload_time": "2012-08-07T04:51:37", "url": "https://files.pythonhosted.org/packages/f8/b2/e3db734228d8c601b5c454723c931b5844dfc05bf7a35cb67172cdfac598/django-facebook-connect-1.0.tar.gz" } ], "1.0.1": [ { "comment_text": "", "digests": { "md5": "d5fa2ae9a10e8372079944ef9cdbfc7b", "sha256": "446d73cbc27b022d1704e4aa45e4ace92c29ea15b50dea0865a966875656b9db" }, "downloads": -1, "filename": "django-facebook-connect-1.0.1.tar.gz", "has_sig": false, "md5_digest": "d5fa2ae9a10e8372079944ef9cdbfc7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10504, "upload_time": "2012-08-07T05:02:40", "url": "https://files.pythonhosted.org/packages/78/31/14f38c7f42c21229a22fe610c6835955ceb09546c137d9e2b5892e110758/django-facebook-connect-1.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d5fa2ae9a10e8372079944ef9cdbfc7b", "sha256": "446d73cbc27b022d1704e4aa45e4ace92c29ea15b50dea0865a966875656b9db" }, "downloads": -1, "filename": "django-facebook-connect-1.0.1.tar.gz", "has_sig": false, "md5_digest": "d5fa2ae9a10e8372079944ef9cdbfc7b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10504, "upload_time": "2012-08-07T05:02:40", "url": "https://files.pythonhosted.org/packages/78/31/14f38c7f42c21229a22fe610c6835955ceb09546c137d9e2b5892e110758/django-facebook-connect-1.0.1.tar.gz" } ] }