How to retrieve full text from tweet using twarc2

kkgarg

I am using twarc2 for retrieving tweets. The returned jsonl file has the following keys:

dict_keys(['text', 'conversation_id', 'entities', 'author_id', 'public_metrics', 'source', 'id', 'reply_settings', 'edit_history_tweet_ids', 'created_at', 'possibly_sensitive', 'lang', 'referenced_tweets', 'author', '__twarc'])

When I checked the value of data[0]['text'], it terminated with ... like below:

RT @Weather_West: "You may have heard that we have 12 years to fix everything. This is well-meaning nonsense, but it’s still nonsense. We h…

I am wondering how can I get the full text of the tweet. Apparently, twarc2 doesn't even return retweeted_status unlike tweepy which used to be helpful for retrieving the full text.

kkgarg

Actually, twarc2 csv auto-expands the tweets. So, instead of working with .jsonl, one can first convert to .csv and then one will be able to access the full text from the tweet.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How to get full tweet text in retweets (not using tweepy!)?

How to retrieve/find with specific text on tweet from user timeline twitter with python

Getting full tweet text from "user_timeline" with tweepy

How to get full RT tweet text with academictwitteR package?

How to store only the text of tweet using Tweepy

How to get tweet text from Adapters?

Save full text of a tweet with tweepy

How to retrieve full JSON from NodeJS server using EJS file

how to retrieve users full data from mongodb using node js

Retrieve part of a string from a full text

How to get an image from a tweet using tweepy

How to retrieve partial text from a text node using Selenium and Python

Ruby Twitter, Retrieving Full Tweet Text

How can I retrieve products from database with Full-Text index in ASP.NET Core 3

How to only print the text of a tweet using Tweepy ? ( Python 3 )

How to retrieve text from an element using Selenium WebDriver and Java

How to retrieve the last characters from a remote text file using Python?

How to retrieve plain text from .doc files using Python?

How to check the text of a tweet for a specific keyword from an array in python

How to get source video URL from user tweet timeline using twitter API V2

how to retrieve text from an xml

How retrieve text from draftjs

How to retrieve text from JSON

How to retrieve values from a text

How to tweet an image using PHP from my website?

Getting a tweet id from a tweet link using Tweepy

Twitter4j - quote tweet with full 280 characters for user text without url on quoted tweet

ruby tweet line from text file

I'm trying to get word frequency on tweet text from a csv file using pandas value counts