28

My Facebook Group Url is: http://www.facebook.com/groups/284064464943140/ I've read that the group ID is in the Url labelled "id=" or "groupid=" but assume this has changed since there is no such tag in my Url. I would like to use the group id to insert a group feed into our group website. Thank you

ekad
  • 14,436
  • 26
  • 44
  • 46
Alex Hammond
  • 281
  • 1
  • 3
  • 3

8 Answers8

37

For finding any facebook group_id or page_id or user_id go to inspect element of page and find these in meta tags.

Group Id

 fb://group/Here_is_your_group_id

Profile user_id

 fb://profile/here_is_your_user_id 

Page Id

fb://page/here_is_your_page_id
Prashant Srivastav
  • 1,723
  • 17
  • 28
21

try at http://lookup-id.com/ , get facebook id and group id

David
  • 311
  • 2
  • 3
16

Try http://wallflux.com/facebook_id/, it will guide you through it,

wallflux
  • 432
  • 3
  • 13
10

If you need the id for more group for which you are admin, a faster method will be to use facebook's Graph Explorer tool. You need to get access token for 'user_groups' 'user_managed_groups' and make a request by adding groups field:

me?fields=groups

click submit. This will print all of the groups you are member of and corresponding IDs.

Update: Sorry folks, it seems that Facebook is pulling out the API for groups you don't manage. This whole topic might be obsolete.

VessoVit
  • 468
  • 5
  • 12
  • The user_groups permission has been removed, so this doesn't work anymore – rasen58 Jan 11 '16 at 18:03
  • @rasen58 I just checked it. It's still works, but you're partially correct: user_groups is now user_managed_groups – VessoVit Jan 12 '16 at 22:13
  • 1
    when I tried it, it only printed out the one group that I'm an admin of. And clicking on the next field gave me a blank response – rasen58 Jan 13 '16 at 02:37
  • That's correct. Since Facebook pull out the API, most of those methods won't work anymore. I though he meant 'my' Facebook group as he is the admin of. Sorry folks – VessoVit Jan 13 '16 at 08:05
1

You can look for post_form_id in the source code on Facebook but that is not always accurate.

For groups that do not have the ID in the Facebook URL you can get the page or the group ID using this free simple online tool: http://whatismyfacebookid.com

1

You can try https://commentpicker.com/find-facebook-id.php to find a Group ID by entering the FB Group URL. Most of the other online tools don't work anymore.

You can also find it in the source code like mentioned in the other comments. Go to the group page, right click and choose "View Source code" and search for fb://group/. The Group ID will be displayed after the slash or after ?id=

Koen
  • 370
  • 2
  • 7
0

Based upon graph api, you can get group ids as follows:

 $facebook->api( '/'.$userId.'/groups', 'GET', array( 'access_token=' => $userToken ));

by iterating through its results.

Muhammad Muazzam
  • 2,810
  • 6
  • 33
  • 62
0

1) Go to Facebook (www.facebook.com)

2) Click on the little triangle on the top right

3) Select "Manage Groups"

4) Ensure you are on the "Groups" not "Discover" tab (check top left for that)

5) Click on your group

6) Look at your URL from your web browser, it will display something like http://www.facebook.com/groups/12345/about

12345 would be your group in this case.

I hope this helps

Regards

Heider

Heider Sati
  • 2,476
  • 26
  • 28