You are here

function fb_friend_request_accept_path in Drupal for Facebook 7.3

Same name and namespace in other branches
  1. 6.3 contrib/fb_friend.module \fb_friend_request_accept_path()
1 call to fb_friend_request_accept_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 136
This module implements several features specific to Facebook friend networks.

Code

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