Closed saurabh000345 closed 3 years ago
A 401 status code means that there was a problem authenticating your request, such as an invalid consumer key or secret.
source
Check your Twitter Access Token. Maybe it was revoked.
A 401 status code means that there was a problem authenticating your request, such as an invalid consumer key or secret.
sourceCheck your Twitter Access Token. Maybe it was revoked.
So how do I resolve this? while I'm pretty sure the correct code was entered (obvio I copied and pasted it), I'll sure like to try reverification. The help menu apparently doesn't let me revoke the authentication. Let me know if I'm missing something here.
$ shut-up-bird.py
usage: shut-up-bird.py [-h] [-V] [-v] [-id MAX_ID] [-l] [-dt MAX_DATE] [-a] [-rt] [-re] [--remove]
So you're stuck, eh? Here're some hints.
optional arguments:
-h, --help show this help message and exit
-V, --version prints how old Smeagol is
-v, --verbose verbose (See what's happening)
-id MAX_ID, --max-id MAX_ID
archives all statuses with an ID less than (older than) or equal to the specified
-l, --likes archives likes only
-dt MAX_DATE, --max-date MAX_DATE
archives all statuses or likes with a post date earlier than or equal to the specified. Sample format: 2016-11-01
23:00:00+02:00
-a, --asc adds tweets in ascending date order
-rt, --no-retweet skips retweets
-re, --no-reply skips reply tweets
--remove removes all archived tweets. *** WARNING!!! This action is irreversible! ***
hmm, if the permissions are ok and the keys are right, then I don't see a reason for the 401
error 🤔. Is your twitter account by any chance private?
Here's a screenshot of the permissions. And no, my account isn't set private.
Could you tell me where the cache files might be stored or something? I'd want to delete the file and try re-authenticating or something.
EDIT: The file is supposed to be ~/.shut-up-bird.conf
as was mentioned in your README itself. But my Home directory doesn't have that file.
The authentication was successful, FYI