I’m new to learning the Twitter API, but I am running up against what I see as a possible error.
I’m running some search queries and trying to check if tweets have already been favorited by the authenticated user.
This seems straight forward – the Tweet object returned by GET search/tweets has a “Favorited” field that should be set to true or false. But, for some reason, this doesn’t seem to function correctly.
When I print the Tweet object, I can see that the “Favorited” field is always blank, whether it has been favorited or not. It just returns “favorited =>” (i.e., null value). Because of this, I’m not able to perform any sort of logic operation on the value of the “Favorited” field.
Anyone else have this issue? Is there a way to correct it? Am I doing something incorrectly?