You are here

function fb_friend_request_submit_path in Drupal for Facebook 6.3

Same name and namespace in other branches
  1. 7.3 contrib/fb_friend.module \fb_friend_request_submit_path()
1 call to fb_friend_request_submit_path()
fb_friend_request_content in contrib/fb_friend.module
Builds a data structure, similar to Drupal's form API structure, which renders a facebook request-form.

File

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

Code

function fb_friend_request_submit_path($params) {
  $path = FB_FRIEND_PATH_REQUEST_SUBMIT;
  foreach ($params as $key => $value) {
    $path .= "/{$key}/{$value}";
  }
  return $path;
}