Facebook Graph API - group URL to ID

2.4k views Asked by At

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?

3

There are 3 answers

1
tekNorah On BEST ANSWER
0
Stéphane On

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

3
wallflux On