Select a group object using the Graph API using a group alias?

How can I get data with a group alias?

Take, for example, this group: http://www.facebook.com/groups/toroneradio/ . Fulfilling the request https://graph.facebook.com/toroneradio returns me:

"message": "(# 803) Some of the aliases you requested do not exist: toroneradio"

Fulfilling a request to the graph API with the group ID: https://graph.facebook.com/173246339390721 works fine.

This works great for pages. I looked at the FQL group table, but the name is not searchable. ( FQL group table ) We also searched for some kind of documentation and found nothing in Bugtracking FB.

Is there a way to get the programmatic group identifier from a group alias or directly to get a group graph object?

Thanks in advance!

+5
source share
3 answers

Easy way

Facebook, , , FB API FB Graph API ( , "" )

, ( , ), :

  • Firebug "Net".
  • Facebook - , Net panl HTTP-,
  • "",
  • Facebook, Facebook.
  • GET generic.php - , , [+], .
  • "", . , "" "sk", , "group_1656399367890"
  • "group_" ( 1656399367890).

, !

+5

FQL:

SELECT id FROM profile WHERE username='groupname' AND type='group'
0

All Articles