Comments (4)
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.
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.
@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.
Glad to hear you were able to resolve this.
from birdy.
Related Issues (20)
- SSL certificate error while using pyinstaller HOT 1
- more verbose error reporting HOT 1
- streaming api does not return HOT 2
- Quick Question... HOT 1
- How to post an image with a status?
- How can we use cursors?
- users.lookup request not working
- TwitterRateLimitError: Response headers are always None
- Infinite recursion in class JSONObject
- Media upload
- Add supported Python version to README and setupy.py HOT 1
- Crash with no error report
- Streaming User returns no data HOT 2
- Public stream does not respond with any data HOT 1
- How to search tweets? HOT 1
- Twitter API docs links in Readme are outdated HOT 1
- Example of post request with JSON parameters? HOT 2
- Direct Message HOT 1
- Need help for /1.1/users/lookup request
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from birdy.