You are currently viewing the new Beta Editor Docs.
Switch to the Classic Editor Docs
You are currently viewing the Classic Editor Docs.
Switch to the Beta Editor Docs

anvil.facebook.auth Module

Functions

get_user_access_token() (more info)

Get the Facebook access token of the currently-logged-in Facebook user.

To log in with Facebook, call facebook.auth.login() from form code.


    get_user_email()

    Get the email address of the currently-logged-in Facebook user.

    To log in with Facebook, call facebook.auth.login() from form code.


      get_user_id()

      Get the Facebook user ID of the currently-logged-in Facebook user.

      To log in with Facebook, call facebook.auth.login() from form code.


        login()

        Prompt the user to log in with their Facebook account



        anvil.facebook.auth