Skip to content

Commit

Permalink
🌈 style(graph api): format code
Browse files Browse the repository at this point in the history
  • Loading branch information
MerleLiuKun committed Feb 1, 2024
1 parent d0f9da3 commit 63c1cbd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pyfacebook/api/graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,15 +655,15 @@ def get_app_token(
) -> dict:
"""
Generate the app token, which allows to make requests to certain endpoints.
For example, to request information about a user access token,
For example, to request information about a user access token,
you would need an app token.
For more info about the different access tokens, see
https://developers.facebook.com/docs/facebook-login/guides/access-tokens/
:param app_id: The app/client ID.
:param app_secret: The app/client secret.
:return: The app access token.
"""
if app_id is None:
Expand All @@ -688,16 +688,16 @@ def debug_token(self, input_token: str, access_token: Optional[str] = None) -> d
Get information (such as the scopes or the token expiration dates) about the ``input_token``
given optionally the an ``access_token``, which is an app token.
This method is an interface to
This method is an interface to
https://developers.facebook.com/docs/facebook-login/guides/%20access-tokens/debugging.
For more info about the different access tokens, see
https://developers.facebook.com/docs/facebook-login/guides/access-tokens/.
:param input_token: The access token for which you would like to get information.
:param access_token: The app token.
:param access_token: The app token.
You can get it by calling ``get_app_token``
Alternatively, you can create ``GraphAPI`` with the option
Alternatively, you can create ``GraphAPI`` with the option
``application_only_auth=True`` and the app token will
be generated automatically.
:return: The debug information about the ``input_token``.
Expand Down

0 comments on commit 63c1cbd

Please sign in to comment.