5

While some group URLs come in the format of www.facebook.com/groups/%ID%/ other come in the format of www.facebook.com/groups/%SOME_STRING%/. For example http://www.facebook.com/groups/2261122614/ vs. http://www.facebook.com/groups/fbdevelopers/.

In the former case it's very easy to programmatically extract the Graph API ID from the URL. How can that be done for URLs of the latter case?

Kara
  • 6,115
  • 16
  • 50
  • 57
Daniel Zohar
  • 1,962
  • 2
  • 13
  • 19

3 Answers3

3

Just figured this out! Do this:

http://graph.facebook.com/search?q=[ALIAS]&type=group

tekNorah
  • 389
  • 3
  • 12
  • 2
    That´s not 100% correct because it will return an array of Groups witch are related to the ALIAS! I mean, it´s a search and doest not return the exactly group! – Daniel Aug 01 '16 at 21:12
0

I'm using this website. It works for groups and profiles http://findmyfbid.com/

Stéphane
  • 1,528
  • 14
  • 21
0

Try http://www.wallflux.com/facebook_id/

wallflux
  • 432
  • 3
  • 13
  • Thanks but it doesn't return an id for http://www.facebook.com/groups/fbdevelopers/ . See http://www.wallflux.com/feed/146797922030397 – Daniel Zohar Mar 27 '12 at 14:06
  • The ID is 146797922030397. If you uncheck the checkbox it would have returned you just the number, not the whole wallflux. – wallflux Mar 28 '12 at 16:18
  • Nice! The question is how can I do independently of Wallflux using only the Graph API. As far as I see, they do not provide the code used for their service. – Daniel Zohar Apr 13 '12 at 08:41