You are here

Functions in Drupal for Facebook 7.3

Primary tabs

Namesort descending Location Description Direct uses Strings
fb_user_user_login ./fb_user.module Implements hook_user_login.
fb_user_user_logoutXXX ./fb_user.module Implements hook_user_logout.
fb_user_user_update ./fb_user.module Implements hook_user_update().
fb_user_user_view ./fb_user.module Implements hook_user_view.
fb_user_view_page ./fb_user.module Menu page callback. Send user to local profile page of a facebook user. 1
fb_vars ./fb.module Helper function to get the most commonly used values. In your custom module, call extract(fb_vars()); to set $fb_app, $fb, and $fbu. 8
fb_verbose ./fb.module For debugging, add $conf['fb_verbose'] = TRUE; to settings.php. 18 1
fb_views_views_api fb_views/fb_views.module @file Facebook-specific views arguments, filters, etc...
fb_views_views_data fb_views/fb_views.module
fb_views_views_handlers fb_views/fb_views.module
fb_views_views_style_plugins fb_views/fb_views.module Introduce a theme style that mimics a facebook discussion board.
theme_fb_app ./fb_app.module
theme_fb_app_user_info ./fb_app.module
theme_fb_discussion_nodes fb_views/fb_views.module
theme_fb_fbml_popup ./fb.theme.inc
theme_fb_form_multi_friend_selector ./fb_form.module
theme_fb_form_requestform ./fb_form.module
theme_fb_form_req_choice ./fb_form.module
theme_fb_form_serverfbml ./fb_form.module
theme_fb_login_button ./fb.theme.inc Theme a Facebook Connect button.
theme_fb_login_buttonXXX ./fb.theme.inc
theme_fb_markup ./fb.theme.inc
theme_fb_username ./fb.theme.inc
theme_fb_user_picture ./fb.theme.inc
theme_sortable_header_links fb_views/fb_views.module
theme_views_fb_discussion fb_views/fb_views.module
theme_views_fb_teasers fb_views/fb_views.module
_fb_api_init ./fb.module Wrapper function for fb_api_init. This helps for functions that should work whether or not we are on a canvas page. For canvas pages, the active fb object is used. For non-canvas pages, it will initialize the API using an infinite session, if configured. 1
_fb_canvas_get_config ./fb_canvas.module Helper returns configuration for this module, on a per-app basis. 3
_fb_connect_add_js ./fb_connect.module This wrapper function around drupal_add_js() ensures that our settings are added once and only once when needed. 2
_fb_connect_block_login_defaults ./fb_connect.module Default markup for our login block. 2
_fb_connect_get_config ./fb_connect.module Helper returns configuration for this module, on a per-app basis.
_fb_connect_set_app ./fb_connect.module 2
_fb_get_name ./fb.module Helper function determines a name from data returned from fb_graph(). Almost always, graph data includes a 'name'. But in rare cases that is not present and we use an id instead. 5
_fb_install_set_weight ./fb.install 1
_fb_logout ./fb.module Helper to ensure local user is logged out, or an anonymous session is refreshed. 3
_fb_registration_extract_fb_fields contrib/fb_registration.module 1
_fb_registration_form_alter_fields contrib/fb_registration.module @file 1
_fb_settings_base64_url_decode ./fb_settings.inc Base64 encoding that doesn't need to be urlencode()ed. Exactly the same as base64_encode except it uses 1
_fb_settings_honor_signed_request ./fb_settings.inc Get the fb_settings from a parsed signed request. http://developers.facebook.com/docs/authentication/canvas signed request will be found on canvas pages, and some connect pages and ajax callbacks. 1
_fb_settings_parse ./fb_url_rewrite.inc Parse a setting from the URL. This may be called before custom_url_rewrite, so we can't count on fb_settings() to return the value. For internal use only (see fb_session.inc). 2 2
_fb_settings_parse_signed_request ./fb_settings.inc See https://developers.facebook.com/docs/authentication/signed_request/ for a more reliable version of this function. We skip validation because we do not yet know the app secret. 1
_fb_settings_url_rewrite_prefixes ./fb_url_rewrite.inc Returns a list of the values which we prepend to paths when rewriting urls. 3 1
_fb_stream_validate_token ./fb_stream.admin.inc 1
_fb_tab_get_app_config ./fb_tab.module Helper returns configuration for this module, on a per-app basis. 4
_fb_user_button_text ./fb_user.module Helper function to retrieve button text. 2
_fb_user_check_and_goto ./fb_user.module Detect whether facebook indicates the user has changed. If so, redirect. 1
_fb_user_check_session ./fb_user.module Test facebook session by calling into facebook. This is expensive, so limit check to once per session. Use session variable to flag that we have completed the test. 1
_fb_user_create_local_account ./fb_user.module Helper function to create local account for the currently authorized user. 1
_fb_user_create_map ./fb_user.module Create a map linking the facebook account to the currently logged in local user account. 1

Pages

Other projects