{"id":13502787,"url":"https://github.com/jgorset/facepy","last_synced_at":"2025-05-15T10:02:30.193Z","repository":{"id":1434217,"uuid":"1642105","full_name":"jgorset/facepy","owner":"jgorset","description":"Facepy makes it really easy to use Facebook's Graph API with Python","archived":false,"fork":false,"pushed_at":"2020-04-04T13:19:22.000Z","size":415,"stargazers_count":857,"open_issues_count":3,"forks_count":199,"subscribers_count":55,"default_branch":"master","last_synced_at":"2025-05-15T10:02:25.997Z","etag":null,"topics":["api-client","facebook","graph","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"sametmax/0bin","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jgorset.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2011-04-20T19:27:48.000Z","updated_at":"2025-04-29T20:28:55.000Z","dependencies_parsed_at":"2022-08-16T13:20:32.108Z","dependency_job_id":null,"html_url":"https://github.com/jgorset/facepy","commit_stats":null,"previous_names":[],"tags_count":43,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgorset%2Ffacepy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgorset%2Ffacepy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgorset%2Ffacepy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jgorset%2Ffacepy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jgorset","download_url":"https://codeload.github.com/jgorset/facepy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254319716,"owners_count":22051072,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api-client","facebook","graph","python"],"created_at":"2024-07-31T22:02:25.048Z","updated_at":"2025-05-15T10:02:29.030Z","avatar_url":"https://github.com/jgorset.png","language":"Python","funding_links":[],"categories":["Third-party APIs","资源列表","Python","Awesome Python"],"sub_categories":["第三方 API","Third-party APIs"],"readme":".. image::  https://raw.githubusercontent.com/jgorset/facepy/master/docs/banner.png\n\n|version| |pythons| |downloads| |build| |license|\n\n.. |version| image:: https://img.shields.io/pypi/v/facepy.svg\n.. |pythons| image:: https://img.shields.io/pypi/pyversions/facepy.svg\n.. |downloads| image:: https://img.shields.io/pypi/dm/facepy.svg\n.. |build| image:: https://img.shields.io/travis/jgorset/facepy.svg\n.. |license| image:: https://img.shields.io/github/license/jgorset/facepy.svg\n\nUsage\n-----\n\n.. code:: python\n\n    from facepy import GraphAPI\n\n    # Initialize the Graph API with a valid access token (optional,\n    # but will allow you to do all sorts of fun stuff).\n    graph = GraphAPI(oauth_access_token)\n\n    # Get my latest posts\n    graph.get('me/posts')\n\n    # Post a photo of a parrot\n    graph.post(\n        path = 'me/photos',\n        source = open('parrot.jpg', 'rb')\n    )\n\nFacepy can do more than reading your latest posts and posting photographs of parrots, but you'll have to\n`read the documentation \u003chttp://facepy.rtfd.org\u003e`_ to find out how.\n\nPlease note that Facepy does *not* do authentication with Facebook; it only consumes its API. To get an\naccess token to consume the API on behalf of a user, use a suitable OAuth library for your platform (if you're\nusing Django, for example, you might use `Fandjango \u003chttps://github.com/jgorset/fandjango\u003e`_).\n\nInstallation\n------------\n\n.. code:: bash\n\n    $ pip install facepy\n\nContribute\n----------\n\n* Fork `the repository \u003chttp://github.com/jgorset/facepy\u003e`_.\n* Do your thing (preferably on a feature branch).\n* Write a test that demonstrates that the bug was fixed or the feature works as expected.\n* Send a pull request and bug me until I merge it!\n\nI love you\n----------\n\nJohannes Gorset made this. You should `tweet me \u003chttp://twitter.com/jgorset\u003e`_ if you can't get it\nto work. In fact, you should tweet me anyway.\n\nI love Schibsted\n----------------\n\nI work at `Schibsted Products \u0026 Technology \u003chttps://github.com/schibsted\u003e`_ with a bunch of awesome folks\nwho are every bit as passionate about building things as I am. If you're using\nFacepy, we probably want to hire you.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgorset%2Ffacepy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjgorset%2Ffacepy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjgorset%2Ffacepy/lists"}