You are here

function fb_friend_menu in Drupal for Facebook 7.3

Same name and namespace in other branches
  1. 6.3 contrib/fb_friend.module \fb_friend_menu()

File

contrib/fb_friend.module, line 31
This module implements several features specific to Facebook friend networks.

Code

function fb_friend_menu() {
  $items = array();

  // Facebook will send user here after invites have been sent (or skipped).
  $items[FB_FRIEND_PATH_REQUEST_SUBMIT] = array(
    'page callback' => 'fb_friend_request_submit_page',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  $items[FB_FRIEND_PATH_REQUEST_ACCEPT] = array(
    'page callback' => 'fb_friend_request_accept_page',
    'access callback' => TRUE,
    'type' => MENU_CALLBACK,
  );
  return $items;
}