From c5efdcf898020a9d8f6e6205e4261d4363ab7700 Mon Sep 17 00:00:00 2001 From: walmsley Date: Mon, 11 Sep 2017 18:44:08 -0400 Subject: [PATCH] Allow tweet_mode=extended in statuses_lookup In response to #840 --- tweepy/api.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tweepy/api.py b/tweepy/api.py index c652e90..f90efde 100644 --- a/tweepy/api.py +++ b/tweepy/api.py @@ -94,20 +94,20 @@ class API(object): ) def statuses_lookup(self, id_, include_entities=None, - trim_user=None, map_=None): + trim_user=None, map_=None, tweet_mode=None): return self._statuses_lookup(list_to_csv(id_), include_entities, - trim_user, map_) + trim_user, map_, tweet_mode) @property def _statuses_lookup(self): """ :reference: https://dev.twitter.com/rest/reference/get/statuses/lookup - :allowed_param:'id', 'include_entities', 'trim_user', 'map' + :allowed_param:'id', 'include_entities', 'trim_user', 'map', 'tweet_mode' """ return bind_api( api=self, path='/statuses/lookup.json', payload_type='status', payload_list=True, - allowed_param=['id', 'include_entities', 'trim_user', 'map'], + allowed_param=['id', 'include_entities', 'trim_user', 'map', 'tweet_mode'], require_auth=True ) -- 2.25.1