Hi,

In my workflow I need to identify retweets. According to Twitter API

"Native retweets" are tweet objects that contain a child "retweeted_status"
node that contains the original tweet being retweeted. Identify them by the
presence or absence of that node.

I am using EvaluateJsonPath processor to extract some tweet data and also
want to check if "retweeted_status" node exists. What the best way to do it?

Thinking to extract  $.retweeted_status.id_str  into an attribute and to
check if it is empty or not. But not sure how the processor will behave in
absence of retweeted_status node.

Thanks in advance.

Reply via email to