开发者

Facebook get object type of http://graph.facebook.com/{id}

开发者 https://www.devze.com 2023-03-08 08:35 出处:网络
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.

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消