bear / python-twitter

A Python wrapper around the Twitter API.
Apache License 2.0
3.41k stars 955 forks source link

Twitter API truncating the response text #691

Open Shanmukhi-500 opened 3 years ago

Shanmukhi-500 commented 3 years ago

I am using python-twitter in my application.

Twitter API is truncating the response text to 140 characters. I am unable get complete text.

image


def getApi(plugin):

    api = twitter.Api(consumer_key="*****", consumer_secret="*****", access_token_key="****", 
        access_token_secret="****", cache=None, tweet_mode='extended')
    return api

# My
def home(plugin, count=100, since_id=None, max_id=None):
    api = getApi(plugin)
    return api.GetHomeTimeline(count=count, since_id=since_id, max_id=max_id)