mod_facebook

The mod_facebook module plugs into the authentication system to enable Facebook login on your site.

Configuration

Activate mod_facebook, then head to ‘Auth’ > ‘External services’ in the admin interface to enter your Facebook app ID and secret. Enable Facebook login by checking the ‘Use Facebook authentication’ box. This will add a ‘Log in with Facebook’ button to the logon form on your site.

If you need extended permissions, add them to the ‘Scope’ textbox. Note that the module needs the ‘email’ permission for login to work.

Accepted Events

This module handles the following notifier callbacks:

  • observe_search_query: Provide module-specific search query handlers with ACL-aware filtering.

Delegate callbacks:

  • event/2 with postback messages: logon_redirect.
  • event/2 with submit messages: admin_facebook.

Edit on GitHub

Observes

Models

Models

facebook

Model for Facebook integration helpers, including auth-use flag, profile picture fetch, and Graph API proxy calls.

Dispatch rules

Dispatch rules

mod_facebook dispatch rules

URL dispatch rules defined by mod_facebook in apps/zotonic_mod_facebook/priv/dispatch/dispatch.

See also

Modules

mod_linkedin

The mod_linkedin module plugs into the authentication system to enable LinkedIn login on your site.

Models

identity

The m_identity model manages usernames and other user identities. module#mod_authentication uses it to store and check salted passwords, but also provides a…

Referred by

Models

identity

The m_identity model manages usernames and other user identities. module#mod_authentication uses it to store and check salted passwords, but also provides a…

Dispatch rules

All dispatch rules

All the dispatch rules from all modules. For a background on dispatch rules, see The URL dispatch system.