DEV Community

Discussion on: A bot that tweets new DEV articles about Vue

 
frontendwizard profile image
Juliano Rafael

I found the problem. You have to ask for the tweets with tweet_mode: "extended" on the statuses/user_timeline endpoint, otherwise you don't always get the posted url. Might be a quirk of the twitter API, I'm not sure about it. Was writing about this when I finally understood the behavior. That's why writing about what you're doing is so important! 😄

Thread Thread
 
frontendwizard profile image
Juliano Rafael • Edited

btw, the code is on Github now: github.com/thefrontendwizard/TheRe...