function fb_get_groups in Drupal for Facebook 6.2
Same name and namespace in other branches
- 5.2 fb.module \fb_get_groups()
- 5 fb.module \fb_get_groups()
- 6.3 fb.module \fb_get_groups()
- 7.3 fb.module \fb_get_groups()
File
- ./
fb.module, line 557
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;
}