{ "info": { "author": "Kevin Stanton", "author_email": "kevin@sproutsocial.com", "bugtrack_url": null, "classifiers": [], "description": "=======\npyfaceb\n=======\n\nIntroduction\n------------\n\nThis python library was started because most of the existing libraries\nout there are either no longer in development, use the old REST API, or\nare lacking in support of the more advanced features available, such as\nbatch querying and FQL support.\n\nPurpose\n-------\n\n 1. to provide a lightweight, easy to use Python wrapper for the Facebook\n Graph API and Facebook Query Language (FQL) interface.\n\n 2. to provide a nice API to Facebook's batch query interface.\n\n 3. to make it easy to use multiple access tokens, where appropriate /\n necessary.\n\nBasic Usage Examples\n--------------------\n\n fbg = FBGraph('access-token')\n \n me = fbg.get('me')\n \n # prints your first name\n print me['first_name']\n \n # prints out the name of all your likes\n my_likes = fbg.get('me/likes')\n for like in my_likes['data']:\n print like['name']\n \n # make a request with parameters...\n my_first_3_likes = fbg.get('me/likes', {'limit': 3})\n \n # get an object by it's ID #:\n facebook_platform_page = fbg.get('19292868552')\n\nBatched Query Examples\n----------------------\n\n # batched queries with a single access token\n fbg = FBGraph('access-token')\n\n # you can write it manually if you like...\n results = fbg.batch([\n {'method': 'GET', 'relative_url': 'me'},\n {'method': 'GET', 'relative_url': 'me/friends?limit=50'}\n ])\n\n # or use the GetRequestFactory\n batch = [GetRequestFactory('me'), GetRequestFactory('me/friends', limit=50)]\n fbg.batch(batch)\n\n # If you need to use multiple access tokens in\n # one batch call, you can!\n # Note, you still must specify a \"fallback\" token when you create an\n # instance of FBGraph()\n fbg.batch([\n GetRequestFactory('PAGE1_FB_OBJ_ID', access_token=PAGE1_ACCESS_TOKEN),\n GetRequestFactory('PAGE2_FB_OBJ_ID', access_token=PAGE2_ACCESS_TOKEN),\n GetRequestFactory('PAGE3_FB_OBJ_ID', access_token=PAGE3_ACCESS_TOKEN),\n ])", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://sproutsocial.github.com/pyfaceb/", "keywords": null, "license": "LICENSE.txt", "maintainer": null, "maintainer_email": null, "name": "pyfaceb", "package_url": "https://pypi.org/project/pyfaceb/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pyfaceb/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://sproutsocial.github.com/pyfaceb/" }, "release_url": "https://pypi.org/project/pyfaceb/0.2.4/", "requires_dist": null, "requires_python": null, "summary": "Full-featured, lightweight Facebook API wrapper for Graph & FQL.", "version": "0.2.4" }, "last_serial": 797194, "releases": { "0.1.2": [ { "comment_text": "", "digests": { "md5": "c6c66e7282b5cd234bda62896740d7ab", "sha256": "438e49fd7996c18eb516a4f9ebe2d8406cfa39f86621edd6fadd487cedade140" }, "downloads": -1, "filename": "pyfaceb-0.1.2.tar.gz", "has_sig": false, "md5_digest": "c6c66e7282b5cd234bda62896740d7ab", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3420, "upload_time": "2012-02-28T00:20:49", "url": "https://files.pythonhosted.org/packages/ea/07/6513508487f9ff56f525470097c8b163dbb4af1dcf4fbf732a4630125cd2/pyfaceb-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "2363a3b8c328c7e77228817aefc002cd", "sha256": "d23202804a24a57d8d8fd08b08f3ea3fa202da87a4497d7c783784cddac443bc" }, "downloads": -1, "filename": "pyfaceb-0.1.3.tar.gz", "has_sig": false, "md5_digest": "2363a3b8c328c7e77228817aefc002cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3422, "upload_time": "2012-02-28T00:27:20", "url": "https://files.pythonhosted.org/packages/d5/fd/86c4e27b8013693293a1948bd45cef6d59587b30f29d3e2709acc7e241cf/pyfaceb-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "ff2084dd825b9536129f57153b63e42e", "sha256": "b0711c11c9e32d0e4b855aee2b19518068104f394a1347de7c7c228c194b777b" }, "downloads": -1, "filename": "pyfaceb-0.1.4.tar.gz", "has_sig": false, "md5_digest": "ff2084dd825b9536129f57153b63e42e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3569, "upload_time": "2012-04-04T18:29:00", "url": "https://files.pythonhosted.org/packages/7c/56/ff956a3e7fed03a857ca45c9bfca818cf60c24602b0725b9287a27055b05/pyfaceb-0.1.4.tar.gz" } ], "0.1.6": [ { "comment_text": "", "digests": { "md5": "2908699f69ef595be6a9e6c680878905", "sha256": "7fbf257b743eb6d679acc92b1119b84e69e7af517ad51c9025e88800a4183cd5" }, "downloads": -1, "filename": "pyfaceb-0.1.6.tar.gz", "has_sig": false, "md5_digest": "2908699f69ef595be6a9e6c680878905", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4017, "upload_time": "2012-04-18T20:48:54", "url": "https://files.pythonhosted.org/packages/19/4e/57d01cfd1088d99f61bec44077e6bc15ab5c6f22fc87b8e17d834b734b59/pyfaceb-0.1.6.tar.gz" } ], "0.1.7": [ { "comment_text": "", "digests": { "md5": "d93ecb2e3f2da8e0a8494d5479a16717", "sha256": "c85e9bece3af1d3b5c7433e537fc67216eecac1c450a5cb4413a196b8c214178" }, "downloads": -1, "filename": "pyfaceb-0.1.7.tar.gz", "has_sig": false, "md5_digest": "d93ecb2e3f2da8e0a8494d5479a16717", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6182, "upload_time": "2012-05-01T00:51:00", "url": "https://files.pythonhosted.org/packages/b5/e1/a1ef0432975b936f265bae1deab2a7174d0b1b4e3ec34dcb91941563aebb/pyfaceb-0.1.7.tar.gz" } ], "0.1.8": [ { "comment_text": "", "digests": { "md5": "82fc378442ef602980e9fde25e5adeda", "sha256": "f68279807274971e3ff1b00d7a289f0a8273343a30c5bd30e0855d2ebda25f03" }, "downloads": -1, "filename": "pyfaceb-0.1.8.tar.gz", "has_sig": false, "md5_digest": "82fc378442ef602980e9fde25e5adeda", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6378, "upload_time": "2012-05-02T19:16:59", "url": "https://files.pythonhosted.org/packages/43/6a/4d3de18927dd82605526c4fe28653637399060ff85377b8085218abdb5ab/pyfaceb-0.1.8.tar.gz" } ], "0.1.9": [ { "comment_text": "", "digests": { "md5": "a036bda83eff1afb019424652324581f", "sha256": "3c2a966e9351e721ffcdf1b00e24564b669b0dcdc996d9345b8a1546d2a39e3f" }, "downloads": -1, "filename": "pyfaceb-0.1.9.tar.gz", "has_sig": false, "md5_digest": "a036bda83eff1afb019424652324581f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7042, "upload_time": "2012-05-31T00:30:24", "url": "https://files.pythonhosted.org/packages/02/d0/a1aa55176fabe208eb658c26a48d396995c357853eb214353f4d1cfecf37/pyfaceb-0.1.9.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "7f88be5cfd8a332fae294c27c4aeda94", "sha256": "88f61d23aae3424a8830719b3f3810742941a8e8e62e213c5819b8b66d963676" }, "downloads": -1, "filename": "pyfaceb-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7f88be5cfd8a332fae294c27c4aeda94", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7302, "upload_time": "2012-06-02T00:01:35", "url": "https://files.pythonhosted.org/packages/78/04/f1f056469ee7b43558d4ec02d458145fea2ce7a01ccb06990b2b3e393d1a/pyfaceb-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "90a2372e0c4c4cbf8126d2e364a320f5", "sha256": "fbb3121732e98946db56e39b37b32fa6c422310a0221a98fdccf80363903e313" }, "downloads": -1, "filename": "pyfaceb-0.2.1.tar.gz", "has_sig": false, "md5_digest": "90a2372e0c4c4cbf8126d2e364a320f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6759, "upload_time": "2012-07-24T18:52:30", "url": "https://files.pythonhosted.org/packages/41/ab/dd62a91fe032dba28e2720f5441a47ea0adab33cceafad0b1b3284674c24/pyfaceb-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "84d05694a9e08f4f8e79438771814a2f", "sha256": "d97a54c20a7bc45fc711ece1c1f5d61d554bfe51e86b4ba93c5a8c143f621b37" }, "downloads": -1, "filename": "pyfaceb-0.2.2.tar.gz", "has_sig": false, "md5_digest": "84d05694a9e08f4f8e79438771814a2f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6849, "upload_time": "2012-08-08T20:54:26", "url": "https://files.pythonhosted.org/packages/b7/9a/b43da443db346d84ca19db89c7e14b57b2a25623dd228e37b0b5a955eba2/pyfaceb-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "1c81710dc4cd8308238e963b5ede8fe4", "sha256": "72c7f5a2be31ca5dcd017688fd6b31383e270815bc83978440ff38a870e47504" }, "downloads": -1, "filename": "pyfaceb-0.2.3.tar.gz", "has_sig": false, "md5_digest": "1c81710dc4cd8308238e963b5ede8fe4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6893, "upload_time": "2012-08-27T23:48:10", "url": "https://files.pythonhosted.org/packages/d6/e9/29cc5e86fa705a9c1f511ce0ee866cbb893e237167c7effea6e2038ca930/pyfaceb-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "bea7e57283878b2b5c6dcf8729e1fe7f", "sha256": "3ca8ea954320562a4169d9d328d293a706cdf1f801ef730245e687a47eea1fdb" }, "downloads": -1, "filename": "pyfaceb-0.2.4.tar.gz", "has_sig": false, "md5_digest": "bea7e57283878b2b5c6dcf8729e1fe7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6830, "upload_time": "2013-06-19T04:51:16", "url": "https://files.pythonhosted.org/packages/24/52/fd9e21b0b223d80a7e4af3b52e11c14a643f1cbcfa5bf70c39dbe6f7bc53/pyfaceb-0.2.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "bea7e57283878b2b5c6dcf8729e1fe7f", "sha256": "3ca8ea954320562a4169d9d328d293a706cdf1f801ef730245e687a47eea1fdb" }, "downloads": -1, "filename": "pyfaceb-0.2.4.tar.gz", "has_sig": false, "md5_digest": "bea7e57283878b2b5c6dcf8729e1fe7f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6830, "upload_time": "2013-06-19T04:51:16", "url": "https://files.pythonhosted.org/packages/24/52/fd9e21b0b223d80a7e4af3b52e11c14a643f1cbcfa5bf70c39dbe6f7bc53/pyfaceb-0.2.4.tar.gz" } ] }