You are currently viewing the new Anvil Editor Docs.
Switch to the Classic Editor Docs
You are currently viewing the Classic Editor Docs.
Switch to the new Anvil 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



        Do you still have questions?

        Our Community Forum is full of helpful information and Anvil experts.


        anvil.facebook.auth