Yahoo Pipes trying to make twitter favorite bot

123 views Asked by At

, need to turn twitter.com/TWITTERUSER/status/377991264722894848 into https://twitter.com/intent/favorite?tweet_id=377991264722894848 I essentially want to know how to set it up to replace everything but the tweet ID number at the end with this beginning https://twitter.com/intent/favorite?tweet_id=

1

There are 1 answers

0
janos On

Perhaps you are looking for the Regex operator, with parameters:

  • In = item.twitter_url
  • replace = .*/status/([0-9]+).*
  • with = https://twitter.com/intent/favorite?tweet_id=$1