jpopesculian / twitter-v2-rs

Rust bindings for Twitter API v2
https://docs.rs/twitter-v2/latest
102 stars 28 forks source link

Fields on `Expansions` aren't accessible #1

Closed wingertge closed 2 years ago

wingertge commented 2 years ago

All fields on the Expansions struct are currently private. This makes it quite useless right now and makes it impossible to retrieve things like image URLs and usernames from the tweet API. They should be made public.

jpopesculian commented 2 years ago

Hi! You're absolutely right! Ill put out a fix tonight!

jpopesculian commented 2 years ago

Hi @wingertge newest release should fix your issues https://github.com/jpopesculian/twitter-v2-rs/commit/81204bc27e6e07d44d4cf7851bbd2d8b107a97a3