Reputation: 25270
Is there a way to know the event's type? For example - party/business/concert...
I think that we could do so at the past - but from some reason I can's find any documentation for it.
Upvotes: 0
Views: 966
Reputation: 29
The category field is now available as of api v2.4 https://developers.facebook.com/docs/graph-api/reference/event
Upvotes: 0
Reputation: 96241
Is there a way to know the event's type?
There is no such thing – not in data field terms.
The user creating an event can put anything they like into the text fields for name
and description
. They might put the words “party” or “concert” in there somewhere – but it might as well be something like “foobar” instead.
What you make of the content of this fields, is up to you. You could look if any specific keywords are mentioned in there – but I doubt you will be able to classify an event with absolute certainty from that.
Upvotes: 1
Reputation: 1011
Look for the category tag in https://graph.facebook.com/EVENT_ID
It seems to be nested under owner, so that probably means it describes the owner and not the event, but it might still be what you're looking for.
Upvotes: 0