Good morning,
I need help as I need a list of followers of a page with Rstudio. I tried several times, both with lookup user and get followers, but it only allows me to have the followers list only with the id, even adding various expansions where possible, when I need at least the username. Can someone help me? Thanks
You can try twarc as a command line tool and import a CSV into R for analysis:
In a terminal, install and configure (need python installed):
pip3 install twarc twarc-csv
twarc2 configure
Get all followers of an account:
twarc2 followers "twitterdev" twitterdev_followers.jsonl
Get users as CSV:
twarc2 csv --input-users-columns --no-input-tweet-columns twitterdev_followers.jsonl twitterdev_followers.csv
Or get a list of followers, 1 json object per line
twarc2 flatten twitterdev_followers.jsonl twitterdev_followers_list.jsonl
system
Closed
#3
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.