Couldn't get CSFR From Cookies! Error

Support / help / discussion forum for twitter bot
Locked
elephantstripes
Posts: 17
Joined: Thu Apr 19, 2018 3:55 am

Couldn't get CSFR From Cookies! Error

Post by elephantstripes »

Hi, when attempting to do any tweets/likes/ seemingly anything, I get this CSFR from cookies error. I've pasted a segment of code from a mass like attempt below,

"
Login: get: https://twitter.com/
Login: Success validate:
Already logged in: <my username>
Scraping Daily stats for: <my username>
UserDetails: https://mobile.twitter.com/<my username> with: <my username> Proxy: <my proxy>
Scrape from users: 1
Scrape details from: 1 inputs
WARNING: Couldn't get CSFR from cookies!
Check not processed before: https://twitter.com/<my username>/status/<my status number>/ with: <my username>
Likes: https://twitter.com/<my username>/status/<my status number>/ with: <my username> Proxy: <my proxy>
WARNING: Couldn't get CSFR from cookies!
"

Does anyone know how to fix this? Thanks
User avatar
martin@rootjazz
Site Admin
Posts: 34712
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Couldn't get CSFR From Cookies! Error

Post by martin@rootjazz »

What account is this?
Real / business / personal
or
bulk / fake / spam type account?

IT would appear you have been hit with a reverification challenge that twitter is now doing. If you are on an old version the program won't detect it.

https://rootjazz.com/twitterdub/updatetesting.html

Update then:

Goto the ACCOUNTS tab
Check the account
Uncheck option to USE COOKIES
click the link VERIFY:LOGIN

This will create an action and send it to the PROCESSING TAB
Goto the processing tab and click RUN. The action will run.
You can double click the action to view the logs and submit logs

Does the program login successfully?


Regards,
Martin
elephantstripes
Posts: 17
Joined: Thu Apr 19, 2018 3:55 am

Re: Couldn't get CSFR From Cookies! Error

Post by elephantstripes »

Here's the output after verifying login:

Code: Select all

UA: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36
Login: get: https://twitter.com/
Login: Get: https://twitter.com/login?redirect_after_login=https%3A/twitter.com/
Login: Post: https://twitter.com/sessions 
Login: Success validate:
Scraping Daily stats for: <username>
UserDetails: https://mobile.twitter.com/<username> with: <username>  Proxy: <proxy>
Scrape from users: 1
Scrape details from: 1 inputs
WARNING: Couldn't get CSFR from cookies!
Account probably blocked by twitter and requires re-verification / receive SMS code / change password - please check account manually
* SUCCESS: <username> <email> validated successfully
FAILED VERIFY: 

SUCCESS VERIFY: 
https://mobile.twitter.com/<username>
1 accounts validated out of 1
Started: 28/07/2019 00:24 AM
Finished: 28/07/2019 00:25 AM
ID: 3826179a-8f7c-41e3-84c2-6fcd0a66667c
Action ran for: 0hr:0min:26s

Then, after running that I tried doing a reply again and got this:

Code: Select all

*** Pre Search Setup***
Checking account: <username>
Initial search setup: <username>
Loading previous db logs: 03bffa94-a7d7-4661-817b-a6902c3bf6e5_ReplyTweet
Loaded previous db logs: 0 processed: 0 within 24hrs: 0
Global Daily limit: 0
*** Performing Search ***
Searching:@<other_username> : max: 50
Get bot for: <username>
custom search builder
Loading previous db logs: 03bffa94-a7d7-4661-817b-a6902c3bf6e5_ReplyTweet
Loaded previous db logs: 0 processed: 0 within 24hrs: 0
Max Results Wanted: 50
Setup custom search controller
Custom search run: search: @<other_username>
Perform custom search: #chain/total: 1/2 A User Id or Url using: <username>
Force initial result set to 100 to ensure enough results from first chain search to check subsequent results of chains
Next search step returns single item, can return from this step
Start search: A User Id or Url with: @<other_username>(50) using: <username>
Results of search: A User Id or Url with: @<other_username>
Handle results: 1 nextstep: 2/2
Got results from chain: 1 feed into next chained custom search item
Handle Result:https://mobile.twitter.com/<other_username>  step: 1/2 Result: 1/1
Perform chained search: [1] https://mobile.twitter.com/<other_username>
Perform custom search: #chain/total: 2/2 LatestTweetOf using: <username>
User specific num per stage to return: 50
Start search: LatestTweetOf with: https://mobile.twitter.com/<other_username>(50) using: <username>
Get ID: https://mobile.twitter.com/<other_username>
UserDetails: https://mobile.twitter.com/<other_username> with: <username>  Proxy: <proxy> 
Scrape from users: 1
Scrape details from: 1 inputs
WARNING: Couldn't get CSFR from cookies!
Account probably blocked by twitter and requires re-verification / receive SMS code / change password - please check account manually
* FAILED: Term: https://mobile.twitter.com/<other_username> 93748583947069875349764958 : Couldn't get CSFR from cookies
Finished search: results: 0
Found: 0
Remove already processed items from list: Original: 0
account: <username> load previously processed items
Removing already process items of: <username>
Loading previous db logs: 03bffa94-a7d7-4661-817b-a6902c3bf6e5_ReplyTweet
Loaded previous db logs: 0 processed: 0 within 24hrs: 0
Loaded previous logs of: <username>
Checking results: 0 against already processed list: 0 of: <username>
Finish removing already processed: results :0 removed already processed: 0
account: <username> load previously processed items
Checking to remove any of (0) already previous items from merged logs: 0
Nothing removed: 0
*** Pre Process Setup ***
Loop items: 0 with: 1 threads
*** Process Items: 0 with: 1 threads ***

*********
Processed: 0/50
Failed: 0
*********

Started: 28/07/2019 00:31 AM
Finished: 28/07/2019 00:31 AM
ID: c65e3b05-6227-4125-9818-23a9d0ad9f1d
Action ran for: 0hr:0min:2s
I have tried logging in manually in the browser. Twitter asks for the phone number, which works fine and lets me log in and use. After this it doesn't help anything for twitterdub though. The phone number is saved in the account on twitterdub
vm1
Posts: 5
Joined: Mon Jul 29, 2019 5:07 am

Re: Couldn't get CSFR From Cookies! Error

Post by vm1 »

I am also getting this warning. The account is validated successfully.

On the accounts page I don't see any checkbox/setting to disable cookies. Is it possible to post a screenshot of where to do that?

Thank you.
hjjkim
Posts: 151
Joined: Fri Jul 12, 2019 4:07 am

Re: Couldn't get CSFR From Cookies! Error

Post by hjjkim »

Some of my accounts got this error as well.
Robertos
Posts: 78
Joined: Wed Nov 15, 2017 3:44 pm

Re: Couldn't get CSFR From Cookies! Error

Post by Robertos »

hjjkim wrote: Mon Jul 29, 2019 7:05 am Some of my accounts got this error as well.
same here. what I did and somehow working. reverted to 3.23 version and after ReCaptcha has done
->go to acc tab delete coockies+reset user agent hit verify button -<-reapeat till CSFR error happening
User avatar
martin@rootjazz
Site Admin
Posts: 34712
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Couldn't get CSFR From Cookies! Error

Post by martin@rootjazz »

Please continue the thread going here
https://rootjazz.com/forum/viewtopic.ph ... 3&start=10

as it is same issue and that thread has more details
Locked