matchUrl method
Performs a tokenized match on any validly-formatted URL of a Tweet.
This operator can matches on the contents of both the url or expanded_url fields. For example, a Tweet containing "You should check out Twitter Developer Labs: https://t.co/c0A36SWil4" (with the short URL redirecting to https://developer.twitter.com) will match both the following rules:
from:TwitterDev url:"https://developer.twitter.com"
(because it will match the contents of entities.urls.expanded_url)
from:TwitterDev url:"https://t.co"
(because it will match the contents of entities.urls.url)
You can only pass a single URL per this operator.
Parameters
value
: Url string to be matched.
Type
Availability
- Essential
Implementation
LogicalChannel matchUrl(final String value) => _buffer.appendOperator(
_standaloneOperation.createUrl(value),
);