How do I find my Facebook group ID?

主宰稳场 提交于 2019-11-30 00:01:56

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

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

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

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.

jake

Using view-source, you get 284064464943140 as the ID, but I'm not sure what to use that, or "post_form_id":"6523b06b74b670d8e6a87ab3ab2a6370" which is a line below it.

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) 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

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.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!