You are here

Functions in Drupal for Facebook 5

Primary tabs

Namesort descending Location Description Direct uses Strings
fb_canvas_primary_links ./fb_canvas.module
fb_canvas_process ./fb_canvas.module This function uses regular expressions to convert links on canvas pages to URLs that begin http://apps.facebook.com/... 1 1
fb_canvas_process_fbml ./fb_canvas.module Similar to fb_canvas_process, this also uses regular expressions to alter link destinations. Use this function when producing FBML for a profile box or news feed, and the pages need to link to canvas pages rather than the default URL. 3 3
fb_canvas_secondary_links ./fb_canvas.module
fb_cron_cron ./fb_cron.module hook_cron()
fb_cron_fb ./fb_cron.module @file
fb_cron_form_alter ./fb_cron.module Implementation of hook_form_alter.
fb_devel_block ./fb_devel.module
fb_devel_canvas_info ./fb_devel.module 1
fb_devel_fb ./fb_devel.module
fb_devel_fbu_page ./fb_devel.module A page which tests function which work with facebook user ids 1
fb_devel_menu ./fb_devel.module
fb_devel_page ./fb_devel.module Provides a page with useful debug info. 1
fb_exit ./fb.module When exiting we need to do some special stuff for forms
fb_facebook_user ./fb.module Returns the facebook user id currently visiting a canvas page, or if set_user has been called. Unlike fb_get_fbu(), works only on canvas pages or when infinite session has been initialized. 12 1
fb_fbml_page themes/fb_fbml/template.php
fb_fbml_regions themes/fb_fbml/template.php
fb_form_alter ./fb.module
fb_form_elements ./fb_form.module
fb_form_form_alter ./fb_form.module hook_form_alter.
fb_form_friend_options ./fb_form.module
fb_form_group_member_options ./fb_form.module
fb_form_group_options ./fb_form.module
fb_form_invite_page ./fb_form.module Create a page to invite friends to add an app. 1
fb_form_menu ./fb_form.module hook_menu.
fb_form_multi_add_invite_form ./fb_form.module Create a form allowing the user to invite friends to add the app. 1
fb_form_multi_add_invite_form_submit ./fb_form.module
fb_form_process_request_selector ./fb_form.module Build a friend selector for use in <fb:request-form>.
fb_form_request_form ./fb_form.module Helper function to produce a request or invite form. Note that this does not produce a full form (i.e. never use drupal_get_form('fb_form_request_form')). The caller is expected to fill out the rest of the form before returning it for use…
fb_get_all_apps ./fb.module Convenience method to return array of all know fb_apps. 2
fb_get_app ./fb.module Convenience method to get app info based on apikey or nid. 9
fb_get_app_options ./fb.module Convenience method to return a list of all known apps, suitable for form elements. 8
fb_get_fbu ./fb.module Given a local user id, find the facebook id. 11
fb_get_friends ./fb.module A convenience method for returning a list of facebook friends. This should work efficiently in canvas pages for finding friends of the current user. In other cases it tries to work, but will be an expensive operation and only succeed when the user… 4
fb_get_groups ./fb.module 1
fb_get_groups_data ./fb.module 2
fb_infinite_display_page ./fb_infinite.module Menu callback. Ensures the user is logged in and displays user id and session key. 1
fb_infinite_fb ./fb_infinite.module hook_fb.
fb_infinite_form_alter ./fb_infinite.module Implementation of hook_form_alter.
fb_infinite_menu ./fb_infinite.module hook_menu
fb_infinite_nodeapi ./fb_infinite.module
fb_infinite_test_page ./fb_infinite.module Menu callback to test infinite session values. 1
fb_init ./fb.module Implementation of hook_init
fb_install ./fb.install
fb_menu ./fb.module
fb_node_grantsXXX ./fb.module Implementation of hook_node_grants.
fb_report_errors ./fb.module Convenience method for displaying facebook api errors. 8
fb_report_exception ./fb.module Exception handler for PHP5 exceptions. 1
fb_scrub_urls ./fb.module This method will clean up URLs. When serving canvas pages, extra information is included in URLs (see fb_settings.inc). This will remove the extra information. 4
fb_session_key_form ./fb.module 1

Pages

Other projects