himura / twitter-conduit

Twitter API package for Haskell, including enumerator interfaces and Streaming API supports.
BSD 2-Clause "Simplified" License
158 stars 48 forks source link

FromJSONError: "expected String, encountered Null" in call to usersLookup #63

Closed cdupont closed 5 years ago

cdupont commented 5 years ago

Currently, I get FromJSONError: "expected String, encountered Null" when calling usersLookup:

users <- liftIO $ call twInfo mgr $ usersLookup $ ScreenNameListParam screenName

I seems that the data returned by Twitter is not decoded correctly into a Response.

cdupont commented 5 years ago

I retried with twitter-types version 0.8.0, it works.