Difference between SET Json cookies and Exported Cookies

Support / help / discussion forum for twitter bot
Post Reply
papamax
Posts: 55
Joined: Sat Nov 26, 2022 6:20 pm

Difference between SET Json cookies and Exported Cookies

Post by papamax »

I am new to twitter dub and before I attempt to login to my accounts I want to make sure cookies are properly set.

I have added the account manually and set JSON cookie, it accepted and confirmed cookies were imported. However, I wanted to make sure the software had it all correct, so before trying to login I exported the cookies to make sure the same cookies values and expires would show but there are many differences.. While VALUES do match, the expire on the exported cookies are all set to 0 basically.. And there are other differences.

Question is, how to make sure what the program has is what was imported into it.. Thanks

IMPORTED BELOW:

Code: Select all

[
  {
    "domain": ".twitter.com",
    "expirationDate": 1703700116.089086,
    "httpOnly": false,
    "name": "guest_id",
    "path": "/",
    "secure": true,
    "session": false,
    "value": "v1%3A166948571646412445",
    "sameSite": "no_restriction"
  },
   {
    "domain": ".twitter.com",
    "expirationDate": 1685039530.62017,
    "httpOnly": false,
    "name": "d_prefs",
    "path": "/",
    "secure": true,
    "session": false,
    "value": "MToxLGNvbnNlbnRfdmVyc2lvbjoyLHRleHRfdmVyc2lvbjoxMDAw",
    "sameSite": "unspecified"
  }
]
And then EXPORTED:

Code: Select all

[
  {
    "Comment": "",
    "CommentUri": null,
    "HttpOnly": false,
    "Discard": false,
    "Domain": ".twitter.com",
    "Expired": false,
    "Expires": "0001-01-01T00:00:00",
    "Name": "guest_id",
    "Path": "/",
    "Port": "",
    "Secure": false,
    "TimeStamp": "2022-12-04T18:17:59.0086152+02:00",
    "Value": "v1%3A166948571646412445",
    "Version": 0
  },
  {
    "Comment": "",
    "CommentUri": null,
    "HttpOnly": false,
    "Discard": false,
    "Domain": ".twitter.com",
    "Expired": false,
    "Expires": "0001-01-01T00:00:00",
    "Name": "d_prefs",
    "Path": "/",
    "Port": "",
    "Secure": false,
    "TimeStamp": "2022-12-04T18:17:59.0086152+02:00",
    "Value": "MToxLGNvbnNlbnRfdmVyc2lvbjoyLHRleHRfdmVyc2lvbjoxMDAw",
    "Version": 0
  }
  ]
User avatar
martin@rootjazz
Site Admin
Posts: 34359
Joined: Fri Jan 25, 2013 10:06 pm
Location: The Funk
Contact:

Re: Difference between SET Json cookies and Exported Cookies

Post by martin@rootjazz »

yes that's fine
Post Reply