Closed snarfed closed 2 years ago
I believe the syntax should be to comma separate the tweet.fields
values, but I don’t have twurl
handy to run this to check right now. Can you try replacing the &
with ,
between the names of the fields (ie. ?tweet.fields=attachments,author_id,etc…
).
Also note that twurl
will support app-only bearer token authentication which works with several of the v2 endpoints; but at the moment, there are no plans to add full OAuth 2.0 support with the new user authentication and granular scopes.
Hah, true! That fixed it. Apologies, that URL was very obviously broken.
(You might still consider improving the error handling though, crashing is probably still not what you want here. 😁)
Hi all! I'm starting to work with the Twitter v2 API, and I've hit a twurl crash:
I'm on macOS 12.3.1, Ruby 2.6.0.
Thanks for maintaining twurl, it's great!