This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Alternative unofficial version of Facebook Python SDK for Facebook Graph API. Based on Requests library. You can read more about the Graph API by accessing its official documentation.

Usage

Basic UserAPI usage:

from fblib.core import UserAPI
api = UserAPI(<user_access_token>)
api_user = api.get_objects('me')

Basic AppAPI usage:

from fblib.core import AppAPI
api = fblib.core.AppAPI(app_id=<application_id>, app_secret=<application_key>)
app_token = app_api.get_app_access_token()

Proper usage:

from fblib.core import UserAPI
access_token = <user_access_token>
api = UserAPI(access_token)
try:
    api_user = api.get_objects('me')
except fblib.core.FacebookError:
    <handling exception>

Functional testing

Running tests:

python tests.py --access_token=AAACEdEose0cBANLuYDa229TKr74oI6UYZC3BTZA --app_id=390492104572701 --app_secret=5afa25cc01ea0440c340e20e2c6a8df

Contributing

  • check for open issues or open a fresh issue
  • when commiting, use PEP8 and 0xCodeStyle
  • write a test which shows that the bug was fixed or that the feature works as expected
  • add yourself to AUTHORS
  • send a pull request and wait until it will be merged

Report Issues/Bugs

For library bugs: https://github.com/0xKirill/fblib/issues

For Facebook Graph API bugs: https://developers.facebook.com/bugs

Facebook Graph API QA: http://facebook.stackoverflow.com/

Release History

Release History

0.9.5

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.4

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.3

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.2

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.9

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
fblib-0.9.5.tar.gz (6.5 kB) Copy SHA256 Checksum SHA256 Source Nov 14, 2012

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting