Imported cookies disappear

Support / help / discussion forum for twitter bot
User avatar
958
Posts: 157
Joined: Mon Jun 19, 2023 1:45 am

Re: Imported cookies disappear

Post by 958 »

Some accounts cannot log in and the parameter log cannot be constructed 92477
User avatar
958
Posts: 157
Joined: Mon Jun 19, 2023 1:45 am

Re: Imported cookies disappear

Post by 958 »

I ran a separate log 73372 of some account prompts and other issues such as tokens.
User avatar
martin@rootjazz
Site Admin
Posts: 34712
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Imported cookies disappear

Post by martin@rootjazz »

The logs I've seen since the most recent update show the response from twitter is to wipe the cookies.

Twitter are returning a header

Code: Select all

set-cookie: auth_token=;
Twitter want you to log in again.


This is not happening (that I have seen) to quality accounts posting quality content - there has been a theme linking all accounts this has happened to - they are on the spammy side.
User avatar
958
Posts: 157
Joined: Mon Jun 19, 2023 1:45 am

Re: Imported cookies disappear

Post by 958 »

Log. 94738 The token disappears after running the task. You can continue to run the task after adding the token again. Why does the token disappear? Is it caused by Twitter?
User avatar
958
Posts: 157
Joined: Mon Jun 19, 2023 1:45 am

Re: Imported cookies disappear

Post by 958 »

martin@rootjazz wrote: Sat Jan 27, 2024 6:47 pm The logs I've seen since the most recent update show the response from twitter is to wipe the cookies.

Twitter are returning a header

Code: Select all

set-cookie: auth_token=;
Twitter want you to log in again.


This is not happening (that I have seen) to quality accounts posting quality content - there has been a theme linking all accounts this has happened to - they are on the spammy side.
Some of my accounts changed their profile after posting tweets and logged in again. The prompt required a clean account and the login failed. The account token disappeared. After adding the account token again, I can log in successfully. Could this be caused by some kind of response from Twitter? The program determined that the token was invalid and deleted the token. Please check the last task account that was run. I hope it can help you. Log 38047
User avatar
martin@rootjazz
Site Admin
Posts: 34712
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Imported cookies disappear

Post by martin@rootjazz »

958 wrote: Sun Jan 28, 2024 1:34 am Log. 94738 The token disappears after running the task. You can continue to run the task after adding the token again. Why does the token disappear? Is it caused by Twitter?
in the logs you will find files:

Code: Select all

log.20240128.auth-token-set-cookie-<username>.log
IT contains the http response for the set-cookie header
guest_id=v1%3A170640553016329822; Max-Age=34214400; Expires=Thu, 27 Feb 2025 01:32:10 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=None,twid=; Max-Age=-1706405529; Expires=Thu, 01 Jan 1970 00:00:01 GMT; Path=/; Domain=.twitter.com; Secure,ct0=; Max-Age=-1706405529; Expires=Thu, 01 Jan 1970 00:00:01 GMT; Path=/; Domain=.twitter.com; Secure; SameSite=Lax,auth_token=; Max-Age=-1706405529; Expires=Thu, 01 Jan 1970 00:00:01 GMT; Path=/; Domain=.twitter.com; Secure

find auth_token cookie
auth_token=; Max-Age=-1706405529; Expires=Thu, 01 Jan 1970 00:00:01 GMT; Path=/; Domain=.twitter.com; Secure
twitter are telling TD to remove the auth_token cookie
auth_token = ;
So the cookie jar implementation removes the cookie as instructed by the HTTP response
User avatar
958
Posts: 157
Joined: Mon Jun 19, 2023 1:45 am

Re: Imported cookies disappear

Post by 958 »

Is it possible to refuse Twitter's request to delete tokens through certain settings? After deletion, the number of accounts that need to be manually added again is too much, which is very troublesome. Or can you set the option to import or replace account tokens in batches? :D
User avatar
martin@rootjazz
Site Admin
Posts: 34712
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Imported cookies disappear

Post by martin@rootjazz »

958 wrote: Tue Jan 30, 2024 4:22 am Is it possible to refuse Twitter's request to delete tokens through certain settings? After deletion, the number of accounts that need to be manually added again is too much, which is very troublesome. Or can you set the option to import or replace account tokens in batches? :D
there is no way to ignore set-cookie headers at this time

Or can you set the option to import or replace account tokens in batches? :D
What do you want to do?

Map a 2 column CSV:

Code: Select all

username,auth_token
?
hinahina00
Posts: 26
Joined: Fri Sep 22, 2023 11:06 am

Re: Imported cookies disappear

Post by hinahina00 »

Hi,Martin

I observed the progress for several days.
It's less than before. However, the situation still persists.

logs_64029

Thanks,
User avatar
martin@rootjazz
Site Admin
Posts: 34712
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Imported cookies disappear

Post by martin@rootjazz »

hinahina00 wrote: Thu Feb 01, 2024 6:30 pm Hi,Martin

I observed the progress for several days.
It's less than before. However, the situation still persists.

logs_64029

Thanks,
HELP >LOGS > VIEW

then look for the set-auth-cookie-username file and it will show you the response from twitter showing they wiped the cookie
Post Reply