M_N_K
#1
Hello,
I’m using this GitHub - twitterdev/search-tweets-python: Python client for the Twitter 'search Tweets' and 'count Tweets' endpoints (v2/Labs/premium/enterprise). Now supports Twitter API v2 /recent and /all search endpoints. GitHub to do the same ,but there is something I can’t understand ,my questions as follow
1)First here is my command-line
search_tweets.py --credential-file twitter_keys1.yaml
–credential-file-key search_tweets_fullarchive_prod
–max-results 5000
–results-per-call 100
–filter-rule “diabetes lang:en”
–start-datetime 2019-09-01 --end-datetime 2020-09-01
–filename-prefix Tweet_file
–print-stream
All the results are in 2020 , nothing from 2019 ?! why is that happened ? is that means the search will start from 2020 till 2019 and if there are 5000 tweets happen in 2020 would be a result of not having no one tweet on 2019?! this is not make sense ? any solution ?
2) On my twitter developer dashboard I found this title on the top of (Search Tweets: Full Archive) Projected tweets 23.9k ? what does this mean , I also don’t understand this title too Projected requests
353 ?
- Json file it seems has some problem , I was trying to open it here JSON Editor Online: JSON editor, JSON formatter, query JSON to get some sense of the features that I will be working on ,but it gives me an error ? how to parse Twitter json file ?
Here is the error
Failed to switch to “tree” mode because of Invalid JSON:
Parse error on line 1:
...": [{"tag": null}]}{"created_at": "Wed
----------------------^
Expecting 'EOF', '}', ',', ']', got '{'
Thank you
Blockquote
system
Closed
#2
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.