NightDev Community Forums

How to get the lastest tweet link?

I’m trying to do a command to get the lastest tweet link, to share it to the stream everyday. To tell them to rt it. I tried this:

!addcom !LastTweet $(customapi http://api.newtimenow.com/last-tweet/?q=TWITTERUSERNAME)

But it gives the content of the tweet, and I want the link, can someone help me?

@dyzzle

You can use DecAPI to get the tweet link:

!addcom -cd=5 !lasttweet $(urlfetch https://decapi.me/twitter/latest_url/TWITTERUSERNAME)

Thx. I’m really new in this, I’m just trying to do good commands to my streamer.