On 12/11/2022 09:45, Bev Nicolson wrote:
So, I downloaded my Twitter data to be on the safe side and found this which offers a way of making that info readable/useable offline.
https://github.com/timhutton/twitter-archive-parser
But I'm not at all clear how to do 3 and 4. I didn't think it was possible run a command within a folder?
Help, please.
OK, Looking at https://github.com/timhutton/twitter-archive-parser
1 & 2 Download your twitter archive. It'll be a zip file. Assuming it's in the download directory. You'll need to extract it so it expands into normal files in folders. Usually the simplest way is to right click and click something like "Extract here". If the file was called "Archive.zip", the folder would likely be called Archive, off your Downloads folder. You could extract this somewhere else if you wanted too. I'm assuming it's in /home/bev/Downloads/Archive
3. Right click on parser.py on that webpage. Use "save as" and make sure it's saved in /home/bev/Downloads/Archive (or wherever else you put the archive). If you couldn't use save-as, then download it, find it, then move it.
4. Open a command prompt/terminal window. Do cd /home/bev/Downloads/Archive (or replace with whichever directory you chose). They want you to run it with python3, so I would try python3 parser.py.
failing that do python parser.py
That, I think, is all there is to it.
I hope that helps. Steve