I didn't find any answer in the API Documentation and also not in the SDK.
If I use "/me/home" for example, I will get my news feed. The news feed contains entries from users, pages, apps, etc. But how do I know wheather an entry is from a user, page or app? I开发者_如何学Gon the output there is no information about the type. All entries have a ID and no more information about the type behind the ID.
i donot know i am correct but you may check that if link in your dynamic variable you are using contains "app." then it is from application and if it is from page then there should be category information then it is from page or group .etc
I would try to be more clear if you provide some more detail what needs to be done?
I found the solution! Thanks to the facebook developer forum!
Just add ?metadata=1 to the request and you will get a field "type" which has values like "page", "group", "user", etc.
精彩评论