:param id_: A list of Tweet IDs to lookup, up to 100
:param include_entities: A boolean indicating whether or not to include `entities <https://developer.twitter.com/en/docs/tweets/data-dictionary/overview/entities-object>`_ in the returned tweets. Defaults to False.
:param trim_user: A boolean indicating if user IDs should be provided, instead of full user information. Defaults to False.
- :param map_: A boolean indicating whether or not to include tweets that cannot be shown, but with a value of None. Defaults to False.
+ :param map_: A boolean indicating whether or not to include tweets that cannot be shown. Defaults to False.
:rtype: list of :class:`Status` objects
a result set of model instances.
"""
results = ResultSet()
+
+ # Handle map parameter for statuses/lookup
+ if isinstance(json_list, dict) and 'id' in json_list:
+ for _id, obj in json_list['id'].items():
+ if obj:
+ results.append(cls.parse(api, obj))
+ else:
+ results.append(cls.parse(api, {'id': int(_id)}))
+ return results
+
for obj in json_list:
if obj:
results.append(cls.parse(api, obj))