Comments (16)
I've pretty much just used this script to generate the content for my guest_accounts.jsonl: zedeus#983 (comment)
Fill in your username and password and execute it once for each Twitter account, copy the required fields and paste it into your guest_accounts.jsonl like so:
{"oauth_token": "xxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "oauth_token_secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
{"oauth_token": "xxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "oauth_token_secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
{"oauth_token": "xxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", "oauth_token_secret": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"}
from nitter.
I know that, which is why my Nitter instance refusing to run unless I have a guest_accounts.json file is confusing
The file name is irrelevant, what matters is its function. Without it, nitter will not be able to do anything, so that's why it doesn't start.
Just add a real account to the guest_accounts.jsonl
file using the instructions here #45 (comment). The cookie header is just so you can see NSFW content and likes too.
from nitter.
where should the guest_accounts.jsonl be located?
from nitter.
It should be put in the same folder where the nitter binary is.
from nitter.
where should the guest_accounts.jsonl be located?
Put it wherever you want and set the NITTER_ACCOUNTS_FILE
environment variable to that location. Otherwise nitter will look at the current directory.
from nitter.
Related question, is using cookie values from a logged-in user supposed to work when you build from the head of master? Nitter still won't run without the guest tokens, and I get segfaults when I try to use other branches and leave them out
from nitter.
Related question, is using cookie values from a logged-in user supposed to work when you build from the head of master? Nitter still won't run without the guest tokens, and I get segfaults when I try to use other branches and leave them out
Did you put the cookie information in the nitter.conf file only? As stated here, you need to generate the necessary info for the guest_accounts.jsonl file.
from nitter.
As I understand the current codebase, guest_accounts.json is for short-term credentials from when you create anonymous guest accounts instead of a "real" account (hence the name); if I understand this comment correctly, I shouldn't need a guest_accounts.json file if I enter the cookie info into nitter.conf.
When I created a guest_accounts.json file I didn't need to enter cookie info, but I encountered a different bug where nitter crashed if I didn't use the service for half an hour or so, but bouncing the service fixed it.
from nitter.
As I understand the current codebase, guest_accounts.json is for short-term credentials from when you create anonymous guest accounts instead of a "real" account
Guest accounts are not supported anymore, twitter took the API that generated those tokens down.
if I understand zedeus#830 (comment) correctly, I shouldn't need a guest_accounts.json file if I enter the cookie info into nitter.conf.
That PR is a little old now. It has no mentions of guest accounts.
When I created a guest_accounts.json file I didn't need to enter cookie info, but I encountered a different bug where nitter crashed if I didn't use the service for half an hour or so, but bouncing the service fixed it.
What branch are you using? I've setup mine from PrivacyDev's master branch, with both the cookie header info AND guest_accounts.jsonl
file with 4 real accounts and I've had no issues whatsoever.
from nitter.
Guest accounts are not supported anymore, twitter took the API that generated those tokens down
I know that, which is why my Nitter instance refusing to run unless I have a guest_accounts.json file is confusing
That PR is a little old now. It has no mentions of guest accounts
The code from that PR is merged into the master branch, so I would expect it to still function correctly
I am using commit cb0d360
from the master branch; the issue is including the cookie info in my config file seems to do nothing (I can remove it and access everything I can with just the guest_accounts.json file), the issue with the service failing after 30 minutes of inactivity is separate
from nitter.
Thanks @PrivacyDevel ! Worked like a charm! But I was not able to make the Likes
tab working. Any help in that case?
from nitter.
#42 has a PR linked to it to add a fix
from nitter.
Thanks @rotorot0 ! Followed that and it's working now!
from nitter.
How can I create a query to filter only tweets from search? I tried this but doesn't work
Query(kind: posts, fromUser: @[username], excludes: @["replies", "retweets", "nativeretweets", "quotes"])
from nitter.
Anyone? @rotorot0 @PrivacyDevel
from nitter.
Also, do I need to use proxy in case I am using multiple accounts?
from nitter.
Related Issues (20)
- Cannot open: ./guest_accounts.json [IOError] HOT 12
- broken gifs HOT 2
- Search in pre_guest_accounts branch does not work HOT 1
- Instance has been rate limited for 1-2 days HOT 2
- Error: unhandled exception: cannot open: ./guest_accounts.json [IOError]
- quote tweets and retweets information HOT 1
- RSS feeds don't include the port in the URLs HOT 2
- Error using .health entry point HOT 1
- PrivacyDev is broken HOT 1
- Could update a Docker image HOT 1
- NSFW posts not showing
- Likes/Favorites has changed. HOT 36
- Very slow as of late HOT 2
- Instace/website down? HOT 1
- Instance always on "Instance has been rate limited." HOT 1
- RSS Improvements
- Likes RSS feed generates empty
- Use of proxy needed if using multiple accounts? HOT 7
- Profile pages locked to specific times
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nitter.