Hi!
Does anyone have any experience with ExTwitter (https://hexdocs.pm/extwitter)??
I’m trying to get all the tweets that belong to a particular user but there doesn’t seem to be a “tweets” key in the map that gets returned when u call "ExTwitter.user("username")"
thanks!!
ps i tried this library just cuz it’s one of the first that comes up in a search but if u have any suggestions for a different one pls lmk!
From https://developer.twitter.com/en/docs/accounts-and-users/follow-search-get-users/api-reference/get-users-show
Returns a variety of information about the user specified by the required user_id or screen_name parameter. The author’s most recent Tweet will be returned inline when possible.
So maybe it shouldn’t return any tweets.
Try fetching a timeline with ExTwitter.user_timeline/1
instead:
ExTwitter.user_timeline(screen_name: "josevalim", count: 12)