Closed redouane59 closed 2 years ago
Kudos, SonarCloud Quality Gate passed!
I think ALL_EXPANSIONS needs to include geo.place_id in order for the places to get added to the includes structure.
Hey @jormungander . Really ? Adding it to ALL_PLACE_FIELDS
is not enough ?
Yes. The ALL_PLACE_FIELDS in place.fields tells it which fields to include, but it's the presence of the geo.place_id in expansions which tells Twitter's API whether to put those fields in the includes or not, basically an on/off switch. I've verified this with the API collection Twitter provides for Postman.
Thanks, it is fixed and will be available on the next release : https://github.com/redouane59/twittered/pull/352
I just got around to checking this and I see there's more to it. The Includes class that the TweetList uses (which comes from TweetV2) does not contain a List to put the places data that it's receiving.
Could you please submit a pull request @jormungander ? edit : just did it.
fixing https://github.com/redouane59/twittered/issues/340