Comments (19)
Do you know a way to get all the retweets in your browser?
p.s.
Keep in mind that the total number of retweets of a tweet is already stores to csv file.
from getoldtweets3.
Hey there Dmitry, thanks for the reply.
Unfortunately I do not know how how to get all the retweets in the browser (can you share?), actually I am a bit confused by this question.. When I navigate to the user in question on twitter I see both the original tweets they've made and what they have re-tweeted but I am guessing this is not what you mean.
As to your second point, "Keep in mind that the total number of retweets of a tweet is already stores to csv file." - I am not really interested in seeing how many people (retweet count) retweeted the primary users tweets, rather to get the primary user's official tweets and what they have re-tweeted themselves, if that makes sense...
Any help you could offer would be extremely appreciated. Thanks Dmitry! @Mottl
from getoldtweets3.
Unfortunately I do not know how how to get all the retweets in the browser (can you share?), actually I am a bit confused by this question..
By asking, I mean if you find a way to get those retweets in your browser then it will be possible to get them automatically with some effort in coding and parsing HTTP responses.
When I navigate to the user in question on twitter I see both the original tweets they've made and what they have re-tweeted
The problem is Twitter shows only the first 10 (or so) and this is not what you need, I assume.
from getoldtweets3.
@elDudarino you can get tweet IDs of tweets from GetOldTweets3 which you can use with the official twitter APIs to get the retweeted tweets. See this API endpoint reference for more details
from getoldtweets3.
@elDudarino,
you can experiment with the filter:nativeretweets
and change the code accordingly.
Here is the example url:
https://twitter.com/search?f=tweets&vertical=default&q=bitcoin%20filter%3Anativeretweets&src=typd
from getoldtweets3.
Hi there, thanks for this version - this is a very helpful tool.
I am doing a search by username bound by start and end dates and it works well. But I noticed that re-tweets are not returned, only the specific user's tweets..
Is it possible to make it so that tweets AND retweets are returned? Don't need a full release for this but if you could point me out where in the code I'd make the mods, would be super appreciated. I spent 12+ hours going through it but I didn't find a way to do it. Thanks a MILLION!
Hi @elDudarino,
Did you have any luck with this? I need the same problem.
@Mottl , thanks for this great tool. I would appreciate if you can elaborate a little bit on how to use the nativetweets parameter to get the retweeted messages.
Many thanks.
from getoldtweets3.
how to use the nativetweets parameter
@caradhras36, just add filter:nativeretweets
to the --querysearch
as following:
GetOldTweets3 --querysearch "bitcoin filter:nativeretweets" --maxtweets 10
from getoldtweets3.
how to use the nativetweets parameter
@caradhras36, just add
filter:nativeretweets
to the--querysearch
as following:
GetOldTweets3 --querysearch "bitcoin filter:nativeretweets" --maxtweets 10
Thank you for the super prompt reply. Let me tell you exactly what my goal is. I want to get all the tweets and retweets from a specific user. Currently, I can get all the tweets, but I can see no retweets.
So, I have two questions:
- I want to get the tweets and retweets from a specific user instead of a query search? How can I do this with the filter: parameter?
- How can I use the Python classes for the same task?
Many many thanks!
from getoldtweets3.
I've tried get retweets from BarackObama
but it didn't work as expected:
GetOldTweets3 --querysearch "filter:nativeretweets" --username "BarackObama" --maxtweets 10
Returned only 1 tweet. Weird.
You can dig further: https://help.twitter.com/en/using-twitter/advanced-tweetdeck-features
from getoldtweets3.
This seem to work (only the retweets):
GetOldTweets3 --querysearch "BarackObama filter:nativeretweets" --maxtweets 10
from getoldtweets3.
@haidaraM, it will not work: "BarackObama" in your case is not a username, but a regular text. You can verify that by checking the gathered tweets.
from getoldtweets3.
My bad, you are right. Didn't really pay attention to the results...
from getoldtweets3.
I've tried get retweets from
BarackObama
but it didn't work as expected:
GetOldTweets3 --querysearch "filter:nativeretweets" --username "BarackObama" --maxtweets 10
Returned only 1 tweet. Weird.
You can dig further: https://help.twitter.com/en/using-twitter/advanced-tweetdeck-features
@Mottl Can it happen because out of 10 tweets, only 1 was a retweet?
from getoldtweets3.
@Mottl, I solved my problem by using your query above and the code works fine now. Thank you very much.
I have one question though. The retweets have only the original tweet's text, not the text posted by the retweeter.
Is there a way to solve this?
Thanks.
from getoldtweets3.
It turns out it didn't work. It only brings the retweets from last 10 days.
from getoldtweets3.
@caradhras36, You can experiment with Twitter search interface to find a way to get retweets.
from getoldtweets3.
Hi, firstly thanks for your tool. Recently I'm doing a project that needs to collect last year's tweets about a hot news topic. Thanks for reminding me that " filter:nativeretweets " can get retweets.
But I also got one problem, it seems like that "filter:nativeretweets" cannot work if I set an old date range. Like the following:
setQuerySearch 'bitcoin filter:nativeretweets'
.setSince("2018-01-01")
.setUntil("2018-12-01")
This command cannot get any tweets. Even in advanced tweets search also cannot get any results. But when I set date limitation to the recent. It's work well.
Is "filter" function and get old tweets function cannot work simultaneously?
from getoldtweets3.
from getoldtweets3.
I know this post is old but I still have the same problem. Is there alternative to get old retweets?
from getoldtweets3.
Related Issues (20)
- [Question] Is it posisble to get a tweet based on Twitter Status ID? HOT 1
- [Question] still 404 error.. HOT 7
- HTTP Error 403: Forbidden HOT 1
- Import and Installation Issue
- Tweets sent as replies to a specific account
- Replies to certain tweets HOT 2
- Fetching Tweets based on Time stamps
- Related to emojis
- [Discussion] Option for setting max number of tweets per day HOT 1
- Cannot get sensitive tweets HOT 1
- How can I export results to a csv file? HOT 1
- search for exact term
- Problem iterating through multiple days and storing output because of high amount of daily tweets HOT 1
- Unrelated, uncorrectly dated, duplicated tweets in retrieved data. Advertisements/Spam? HOT 2
- Query
- .setUntil() always yields zero results
- It is not a bug but, Is there a way to gather only tweets? (excluding replies etc..) HOT 1
- Not getting all the tweets. HOT 7
- HTTP Error, Gives 404 but the URL is working HOT 144
- [Question] Using tweets downloaded from GetOldtweets
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 getoldtweets3.