function fb_get_groups in Drupal for Facebook 6.3
Same name and namespace in other branches
- 5.2 fb.module \fb_get_groups()
- 5 fb.module \fb_get_groups()
- 6.2 fb.module \fb_get_groups()
- 7.3 fb.module \fb_get_groups()
File
- ./
fb.module, line 1182 - This is the core required module of Drupal for Facebook.
Code
function fb_get_groups($fbu, $fb_app = NULL) {
$items = array();
$groups = fb_get_groups_data($fbu);
if ($groups && count($groups)) {
foreach ($groups as $data) {
$items[] = $data['gid'];
}
}
return $items;
}