python-twitter icon indicating copy to clipboard operation
python-twitter copied to clipboard

Twitter API truncating the response text

Open Shanmukhi-500 opened this issue 4 years ago • 0 comments

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)

Shanmukhi-500 avatar Mar 24 '21 11:03 Shanmukhi-500