TwitterPager fails when using the get_iterator method for tweets endpoint pagination.
Code:
result = []
pager = TwitterPager(
api,
'tweets',
query_params,
hydrate_type=HydrateType.REPLACE
)
for item in pager.get_iterator():
results.append(item)
Error:
...
for item in pager.get_iterator():
File ".../venv/lib/python3.9/site-packages/TwitterAPI/TwitterPager.py", line 102, in get_iterator
meta = data['meta']
KeyError: 'meta'
TwitterPager fails when using the
get_iterator
method fortweets
endpoint pagination. Code:Error: