Facebook get object type of http://graph.facebook.com/{id}
When I get a facebook graph object, I would like to differntiate between pages and users. Problem, I have not found any criteria on which I can base this decision.
A typeof funct开发者_JAVA百科ion or nearly anything would be great, but I can't find anything in the documentation..
Add a metadata=1
request parameter and you will get a type
property that tells you what it is.
精彩评论