Creates a new word filter for the current user’s news feeds.
This method requires the following permissions: newsfeed.
Parameters
name
string
The user-visible name of the filter.
words
array
of strings
Words (case-insensitive) that match this filter, as a JSON array.
contexts
array
of strings
Which contexts this filter applies in:
friends— the default (friends) news feedgroups— the groups news feed
expiry_date
integer
The unixtime when this filter expires. If the timestamp is in the past, or if this parameter is omitted, the filter will not expire.
Result
Returns the identifier of the newly created filter.