likr
#1
When using place_country in full-archive endpoint, it seems that retweets more than 7 days ago cannot be obtained.
My query is:
keyword lang:ja place_country:JP is:retweet
Within 7 days or without place_country, I could get retweets as expected.
Could you help me?
likr
#2
Dear Twitter staffs,
I think this may be a bug in the premium api. If so, please let me know if this bug can be fixed.
I need to finish my analysis task this month. If this function is not available this month due to the bug, can I get a refund?
Also, please tell me if I make a mistake.
Thank you.
likr
#3
Hello. I’m going to have to ask our internal teams to look at this, as I’m unable to reproduce, but I expect that your data is valid. Thank you for your patience.
likr
#5
Thank you for your reply.
You can see my source code here: https://gist.github.com/likr/4a277e04ab64ae746b976347954047c1
I’m using tweepy’s experimental premium-search api which can be installed below:
pip install --upgrade git+https://github.com/tweepy/tweepy@premium-search
And, when I run my script like below I get no records.
python twitter.py 20200401
I think the issue is that mixing place_country and is:retweet operators does not work:
Note: operators matching on place (Tweet geo) will only include matches from original tweets. Retweets do not contain any place data.
See https://developer.twitter.com/en/docs/tweets/rules-and-filtering/overview/operators-by-product
If you are getting results within 7 days though that’s unexpected.
1 Like
likr
#7
Thank you very much. I was missing that information. I was able to get a retweet within 7 days.
2 Likes
system
closed
#8
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.