Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Twitter API truncating the response text #691

Open
Shanmukhi-500 opened this issue Mar 24, 2021 · 0 comments
Open

Twitter API truncating the response text #691

Shanmukhi-500 opened this issue Mar 24, 2021 · 0 comments

Comments

@Shanmukhi-500
Copy link

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)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant