I'm trying to access the media keys of some tweets, but I found out while testing that some of them don't include a "media" key in their Json, despite having images or videos posted inside the tweet.
I was unable to test if the tweets missing the key have common attributes, I suspect that quote tweets have a higher tendency to not contain it, but also noticed that this issue isn't exclusive to them, so it's a dead end for me.
I don't know either if it's an issue with the Twitter API or this Module, but it can't hurt to ask.
I'm trying to access the media keys of some tweets, but I found out while testing that some of them don't include a "media" key in their Json, despite having images or videos posted inside the tweet.
I was unable to test if the tweets missing the key have common attributes, I suspect that quote tweets have a higher tendency to not contain it, but also noticed that this issue isn't exclusive to them, so it's a dead end for me.
I don't know either if it's an issue with the Twitter API or this Module, but it can't hurt to ask.
my code goes as follows :