Reputation: 9685
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 function or nearly anything would be great, but I can't find anything in the documentation..
Upvotes: 3
Views: 1968
Reputation: 64700
Add a metadata=1
request parameter and you will get a type
property that tells you what it is.
Upvotes: 11