Giter Site home page Giter Site logo

Comments (4)

bathan avatar bathan commented on August 23, 2024 1

Ok, just to help if someone else comes this way. Sending the 'tweet_mode': 'extended' into the client.api.search.tweets.get params actually did the trick. The difference is that instead of the text property Tweeter now returns a full_text property instead.

from birdy.

sect2k avatar sect2k commented on August 23, 2024

The only thing birdy does with returned data is convert it from json to native python data types, nothing is being "truncated".

Don't think this is a birdy issue.

from birdy.

bathan avatar bathan commented on August 23, 2024

@sect2k thanks for the answer. I'm trying to be able to retrieve tweets using extended mode from twitter , I tried sending the 'tweet_mode': 'extended' into the client.api.search.tweets.get params but with no luck. Do you have any example you could provide for allowing tweets to be returned with the extended mode?

Tweeter docs say :

Consumption
Any REST API endpoints that return Tweets will accept a new tweet_mode request parameter.

Valid request values are compat and extended, which give compatibility mode and extended mode, respectively.

The default mode (if no parameter is provided) is compatibility mode, to support older clients and display methods.

Tweets rendered in compatibility mode via the standard REST API will not contain the extended_tweet field. REST API clients that wish to get the full text can instead opt into extended mode.

So I'm just trying to get the full length tweets using your amazing lib but not being able to.
Any idea?

from birdy.

sect2k avatar sect2k commented on August 23, 2024

Glad to hear you were able to resolve this.

from birdy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.