facepy 1.0.12
pip install facepy
Released:
Facepy makes it really easy to use Facebook's Graph API
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License
- Author: Johannes Gorset
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Programming Language
Project description
Usage
from facepy import GraphAPI
# Initialize the Graph API with a valid access token (optional,
# but will allow you to do all sorts of fun stuff).
graph = GraphAPI(oauth_access_token)
# Get my latest posts
graph.get('me/posts')
# Post a photo of a parrot
graph.post(
path = 'me/photos',
source = open('parrot.jpg', 'rb')
)
Facepy can do more than reading your latest posts and posting photographs of parrots, but you’ll have to read the documentation to find out how.
Please note that Facepy does not do authentication with Facebook; it only consumes its API. To get an access token to consume the API on behalf of a user, use a suitable OAuth library for your platform (if you’re using Django, for example, you might use Fandjango).
Installation
$ pip install facepy
Contribute
Fork the repository.
Do your thing (preferably on a feature branch).
Write a test that demonstrates that the bug was fixed or the feature works as expected.
Send a pull request and bug me until I merge it!
I love you
Johannes Gorset made this. You should tweet me if you can’t get it to work. In fact, you should tweet me anyway.
I love Schibsted
I work at Schibsted Products & Technology with a bunch of awesome folks who are every bit as passionate about building things as I am. If you’re using Facepy, we probably want to hire you.
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: MIT License
- Author: Johannes Gorset
Classifiers
- Development Status
- Intended Audience
- License
- Natural Language
- Programming Language
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file facepy-1.0.12.tar.gz
.
File metadata
- Download URL: facepy-1.0.12.tar.gz
- Upload date:
- Size: 14.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a054d04f7ed0d6b17acb7ee6a2b4e69b3108f83578b00c495eb1119087e7cc1 |
|
MD5 | ab8d41eef908a455582fc1b10f85ead0 |
|
BLAKE2b-256 | d00e0ad64329b297a3251322354b1bd6506f4da66fb1142199386c61e7de5990 |