Facebook-utils

Latest version: v0.50.5

Safety actively analyzes 630254 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 4 of 5

0.18

------------------

- batch requests to the graph return a json document , where the 'body' of each page is a (escaped) json document. a second json decoding is necessary.

0.17

------------------
- added the following exception clases ( inheritance shown )

ApiError
ApiAuthError
ApiAuthExpiredError
ApiApplicationError
ApiResponseError
ApiRuntimeError
ApiRuntimeVerirficationFormatError
ApiRuntimeGrantError
ApiRuntimeScopeError
ApiRuntimeGraphMethodError
ApiUnhandledError

- extended exceptions to include the originally raised error ( `raised` ) and the the `response` if available

- added format checking to the response during batch requests

- extended unit tests to ensure everything works. they could be better

- consolidated the parsing of the response into the api_proxy. facebook's graph has different response types and behaviors. this helps consolidate it for developers.

- added `mask_unhandled_exceptions` kwarg to hub init.
1. this defaults to False
2. this is just testing. please don't rely on it. it could go away.
when set to True, it wraps uncaught exceptions in an ApiUnhandledError exception. This allows you to only care about pass/fail if needed

0.16

------------------
- added AuthException to better catch auth failures

0.15

------------------
- Adding Facebook OpenGraph actions API support
-- graph__action_create
-- graph__action_delete
-- graph__action_list

tests are tbd

0.14

------------------
- Updated to Pyramid Classifier

0.13

------------------
- added support for extending access tokens see https://developers.facebook.com/roadmap/offline-access-removal/

Page 4 of 5

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.