links.hops

The array of intermediate links that any link posted as a part of an interaction resolves to before DataSift obtains the original URL. If the URL we're analyzing points directly to the resource it represents, the links.hops array will be empty; if the URL is a shortened link (a Bilty link, for example) that resolves directly to the original URL, the links.hops array will have one element. If, however, the URL is a shortened link to another shortened link that points to the original URL, the links.hops array will have two elements.

Examples

  1. Filter for Tweets that contain links shortened using Bitly:

links.hops contains_any "bit.ly,bitly.com"

Resource information

Target service: Augmentation Target: Links

Target object: Links: General

Type: array(string)

Array: Yes

Always exists: No