Is there a way to determine what kind of object is represented by the given ID https://graph.facebook.com/ID
. When I\'m requesting this in Graph API Explorer tool,
You can add metadata=1 and response will have metadata: {type: ...}
if you do request like that:
http://graph.facebook.com/object_id?metadata=1&fields=id,name,metadata{type}
Based on commend of Vinicius Tavares.
This is possible if you using something Facebook call "introspection" by adding metadata
argument to your request:
GET http://graph.facebook.com/object_id?metadata=1
The result will contain type
field