Parameter sort_order
is missing in gen_request_parameters()
(v2)
#149
Labels
sort_order
is missing in gen_request_parameters()
(v2)
#149
Describe the bug
The full-archive search endpoint in v2 of the Twitter API provides the parameter
sort_order
to sort the Tweets by recency or relevancy (see Twitter API documentation for the full-archive search). The implementation ofgen_request_parameters()
does not provide this parameter yet but it should.To Reproduce
Error:
Expected behavior
The function
gen_request_parameters()
should accept the parametersort_order
.Workaround
If you want to use the
sort_order
parameter, you can use the following workaround until the bug is fixed:The request parameters must be returned as dict instead of a JSON string (
stringify=False
). Then you can add the parametersort_order
manually.The text was updated successfully, but these errors were encountered: