{ "info": { "author": "ramusus", "author_email": "ramusus@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "Django Facebook Graph API Users\n===============================\n\n[![PyPI version](https://badge.fury.io/py/django-facebook-users.png)](http://badge.fury.io/py/django-facebook-users) [![Build Status](https://travis-ci.org/ramusus/django-facebook-users.png?branch=master)](https://travis-ci.org/ramusus/django-facebook-users) [![Coverage Status](https://coveralls.io/repos/ramusus/django-facebook-users/badge.png?branch=master)](https://coveralls.io/r/ramusus/django-facebook-users)\n\nApplication for interacting with Facebook Graph API Users objects using Django model interface\n\nInstallation\n------------\n\n pip install django-facebook-users\n\nAdd into `settings.py` lines:\n\n INSTALLED_APPS = (\n ...\n 'oauth_tokens',\n 'facebook_api',\n 'facebook_users',\n )\n\n # oauth-tokens settings\n OAUTH_TOKENS_HISTORY = True # to keep in DB expired access tokens\n OAUTH_TOKENS_FACEBOOK_CLIENT_ID = '' # application ID\n OAUTH_TOKENS_FACEBOOK_CLIENT_SECRET = '' # application secret key\n OAUTH_TOKENS_FACEBOOK_SCOPE = ['offline_access'] # application scopes\n OAUTH_TOKENS_FACEBOOK_USERNAME = '' # user login\n OAUTH_TOKENS_FACEBOOK_PASSWORD = '' # user password\n\nUsage examples\n--------------\n\n### Fetch user by Graph ID\n\n >>> from facebook_users.models import User\n >>> user = User.remote.fetch(4)\n >>> user\n \n >>> user.__dict__\n {'_external_links_post_save': [],\n '_external_links_to_add': [],\n '_foreignkeys_post_save': [],\n '_state': ,\n 'bio': '',\n 'birthday': '',\n 'cover': {'id': '989690200741',\n 'offset_y': 0,\n 'source': 'http://m.ak.fbcdn.net/sphotos-a.ak/hphotos-ak-ash4/s720x720/311205_989690200741_1231438675_n.jpg'},\n 'currency': None,\n 'devices': None,\n 'education': None,\n 'email': '',\n 'favorite_athletes': None,\n 'favorite_teams': None,\n 'first_name': 'Mark',\n 'gender': 'male',\n 'graph_id': '4',\n 'hometown': None,\n 'id': 11214,\n 'installed': None,\n 'interested_in': None,\n 'languages': None,\n 'last_name': 'Zuckerberg',\n 'link': 'http://www.facebook.com/zuck',\n 'locale': 'en_US',\n 'location': None,\n 'middle_name': '',\n 'name': 'Mark Zuckerberg',\n 'payment_pricepoints': None,\n 'picture': '',\n 'political': '',\n 'quotes': '',\n 'relationship_status': '',\n 'religion': '',\n 'security_settings': None,\n 'significant_other': None,\n 'third_party_id': '7joA1JrNkjG9e-A6yGLZyiTzdL4',\n 'timezone': None,\n 'updated_time': datetime.datetime(2013, 3, 13, 20, 36, 43, tzinfo=tzutc()),\n 'username': 'zuck',\n 'verified': False,\n 'video_upload_limits': None,\n 'website': '',\n 'work': None}\n\nLicensing\n---------\n\nThis library uses the [Apache License, version 2.0](http://www.apache.org/licenses/LICENSE-2.0.html).\nPlease see the library's individual files for more information.", "description_content_type": null, "docs_url": null, "download_url": "http://pypi.python.org/pypi/django-facebook-users", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ramusus/django-facebook-users", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-facebook-users", "package_url": "https://pypi.org/project/django-facebook-users/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-facebook-users/", "project_urls": { "Download": "http://pypi.python.org/pypi/django-facebook-users", "Homepage": "https://github.com/ramusus/django-facebook-users" }, "release_url": "https://pypi.org/project/django-facebook-users/0.6.0/", "requires_dist": null, "requires_python": null, "summary": "Django implementation for Facebook Graph API Users", "version": "0.6.0" }, "last_serial": 1755101, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "8a7b5a77921ac6cea04c23479dfb3aa7", "sha256": "71e847783fc49932cdf2e4104617245e4db111e3f1c8af13217b459f49b6f6aa" }, "downloads": -1, "filename": "django-facebook-users-0.1.0.tar.gz", "has_sig": false, "md5_digest": "8a7b5a77921ac6cea04c23479dfb3aa7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15869, "upload_time": "2013-03-22T20:32:07", "url": "https://files.pythonhosted.org/packages/e2/14/93c1c3d9019ca304cd663de7b19114db0b47c5ae1477cb4dc0b8c95e5660/django-facebook-users-0.1.0.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "95b8b39b635739719779f6052430504c", "sha256": "0fa40e5c4adc33be8b47d2c83d2960a06ca4a23645aa9564dae50ce57adc976d" }, "downloads": -1, "filename": "django-facebook-users-0.1.2.tar.gz", "has_sig": false, "md5_digest": "95b8b39b635739719779f6052430504c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16074, "upload_time": "2014-11-13T12:32:06", "url": "https://files.pythonhosted.org/packages/92/64/62b74d1e46826a17d1e5c2b87d1adec7ebf942e7b6918ac7e5d93ed32b7f/django-facebook-users-0.1.2.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "6667c0b651bcead3027be317244fe7b6", "sha256": "95cf76abb65d3cef6af52798c41ed61480039f3d22e1ff58615c9fe130a41371" }, "downloads": -1, "filename": "django-facebook-users-0.3.0.tar.gz", "has_sig": false, "md5_digest": "6667c0b651bcead3027be317244fe7b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 16123, "upload_time": "2014-12-08T08:36:32", "url": "https://files.pythonhosted.org/packages/06/ac/ba0614c04f879346264e8a53a3424a25c7c4618c3057ae86483bea4e9746/django-facebook-users-0.3.0.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "816af904648afb6eaefa448abd69eaef", "sha256": "c8333e32ee7494af6989b3bbc62ab1457ab98298b06c9eee4dd232338db03782" }, "downloads": -1, "filename": "django-facebook-users-0.6.0.tar.gz", "has_sig": false, "md5_digest": "816af904648afb6eaefa448abd69eaef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17146, "upload_time": "2015-10-06T17:59:35", "url": "https://files.pythonhosted.org/packages/0c/fd/d2a767fba5ec2d0c5f6d26b3a3d0f33945c0a9bf4cf2690becbd6c4f81ce/django-facebook-users-0.6.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "816af904648afb6eaefa448abd69eaef", "sha256": "c8333e32ee7494af6989b3bbc62ab1457ab98298b06c9eee4dd232338db03782" }, "downloads": -1, "filename": "django-facebook-users-0.6.0.tar.gz", "has_sig": false, "md5_digest": "816af904648afb6eaefa448abd69eaef", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17146, "upload_time": "2015-10-06T17:59:35", "url": "https://files.pythonhosted.org/packages/0c/fd/d2a767fba5ec2d0c5f6d26b3a3d0f33945c0a9bf4cf2690becbd6c4f81ce/django-facebook-users-0.6.0.tar.gz" } ] }