Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Getting full_text from truncated tweets #491
I realized that when using this library I get truncated tweets and I tried to find a solution. I found on the Internet that there is a parameter called "tweet_mode" that you are supposed to tunned as "extended". However, there is no such parameter in the GetSearch function.
I realized that there is a parameter called raw_query, and I also tried to write something like "q=whatever&tweet_mode=extended" but it didn't work.
I made a workaround and I want to share it because someone might find it useful. You just need to modify a couple of lines:
In the file models.py
Line 478 (below current_user_retweet = data['current_user_retweet']['id'])
This is just a workaround but it would be great if it's implemented in the library.
referenced this issue
Sep 16, 2017
One thing: if anyone else runs into this, make sure you have