{ "info": { "author": "Javier Cordero Martinez", "author_email": "jcorderomartinez@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python" ], "description": "This fork is still in development:\n TODO: \n put_photo isn't working yet.\n shortcuts out of GraphAPI class aren't tested\n\n\n===================\nFacebook Python SDK\n===================\n\nThis client library is designed to support the `Facebook Graph API`_ and the\nofficial `Facebook JavaScript SDK`_, which is the canonical way to implement\nFacebook authentication. You can read more about the Graph API by accessing its\n`official documentation`_.\n\n.. _Facebook Graph API: https://developers.facebook.com/docs/reference/api/\n.. _Facebook JavaScript SDK: https://developers.facebook.com/docs/reference/javascript/\n.. _official documentation: https://developers.facebook.com/docs/reference/api/\n\nBasic usage:\n\n::\n\n graph = facebook.GraphAPI(oauth_access_token)\n profile = graph.get_object(\"me\")\n friends = graph.get_connections(\"me\", \"friends\")\n graph.put_object(\"me\", \"feed\", message=\"I am writing on my wall!\")\n\nPhoto uploads:\n\n::\n\n graph = facebook.GraphAPI(oauth_access_token)\n tags = json.dumps([{'x':50, 'y':50, tag_uid:12345}, {'x':10, 'y':60, tag_text:'a turtle'}])\n graph.put_photo(open('img.jpg'), 'Look at this cool photo!', album_id_or_None, tags=tags)\n\nIf you are using the module within a web application with the JavaScript SDK,\nyou can also use the module to use Facebook for login, parsing the cookie set\nby the JavaScript SDK for logged in users. For example, in Google AppEngine,\nyou could get the profile of the logged in user with:\n\n::\n\n user = facebook.get_user_from_cookie(self.request.cookies, key, secret)\n if user:\n graph = facebook.GraphAPI(user[\"access_token\"])\n profile = graph.get_object(\"me\")\n friends = graph.get_connections(\"me\", \"friends\")\n\n\nYou can see a full AppEngine example application in examples/appengine.\n\nReporting Issues\n================\n\nIf you have bugs or other issues specifically pertaining to this library, file\nthem `here`_. Bugs with the Graph API should be filed on `Facebook's\nbugtracker`_.\n\n.. _here: https://github.com/pythonforfacebook/facebook-sdk/issues\n.. _Facebook's bugtracker: https://developers.facebook.com/bugs/", "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/jneight/geventhttplib-facebook", "keywords": null, "license": "Apache", "maintainer": null, "maintainer_email": null, "name": "geventhttpclient-facebook", "package_url": "https://pypi.org/project/geventhttpclient-facebook/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/geventhttpclient-facebook/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jneight/geventhttplib-facebook" }, "release_url": "https://pypi.org/project/geventhttpclient-facebook/0.4.4/", "requires_dist": null, "requires_python": null, "summary": "Port of the original facebook sdk to use geventhttpclient This client library is designed to support the Facebook Graph API and the official Facebook JavaScript SDK, which is the canonical way to implement Facebook authentication.", "version": "0.4.4" }, "last_serial": 886245, "releases": { "0.4.4": [ { "comment_text": "", "digests": { "md5": "823f0e36b57a83f4620f17fdaaa426c6", "sha256": "37b055a8b0fd2605058623254875de373b9e33ec9c7f1877c8a0455fd42410fc" }, "downloads": -1, "filename": "geventhttpclient-facebook-0.4.4.tar.gz", "has_sig": false, "md5_digest": "823f0e36b57a83f4620f17fdaaa426c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14719, "upload_time": "2013-10-10T14:36:24", "url": "https://files.pythonhosted.org/packages/f0/ec/5d6d4741f1fe1b4adf7918596e6ce1aca421d511b2018a463f0534c25bfd/geventhttpclient-facebook-0.4.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "823f0e36b57a83f4620f17fdaaa426c6", "sha256": "37b055a8b0fd2605058623254875de373b9e33ec9c7f1877c8a0455fd42410fc" }, "downloads": -1, "filename": "geventhttpclient-facebook-0.4.4.tar.gz", "has_sig": false, "md5_digest": "823f0e36b57a83f4620f17fdaaa426c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14719, "upload_time": "2013-10-10T14:36:24", "url": "https://files.pythonhosted.org/packages/f0/ec/5d6d4741f1fe1b4adf7918596e6ce1aca421d511b2018a463f0534c25bfd/geventhttpclient-facebook-0.4.4.tar.gz" } ] }