tbm icon indicating copy to clipboard operation
tbm copied to clipboard

Access token

Open forestfoxx opened this issue 2 years ago • 4 comments

The readme file says that I need an "access token", does it mean I have to get a Twitter developer account or something? Never worked with that. Should I run the program with a twitter account logged into in a browser?

By the way, the "usage" section doesn't mention that there's an "-access-token" option. I found it with "-help"

forestfoxx avatar Dec 21 '22 20:12 forestfoxx

Hi @forestfoxx , the "access token" is a token used to authenticate the api calls. The program will try to find it by itself (it's found inside a javascript file hosted on twitter.com). If this fails, you could set it manually.

I guess you can ignore the access token in general - the cookie is the most important part. You were right, the readme was outdated. It's updated now :)

Best regards,

Webklex avatar Dec 21 '22 21:12 Webklex

I see, thanks. Still can't get it to work though... I see this:

Get "https://twitter.com/i/bookmarks": net/http: TLS handshake timeout
Server started on: http://localhost:{port_name}

And nothing happens.

forestfoxx avatar Dec 22 '22 09:12 forestfoxx

Hi @forestfoxx , I'm not sure what you've done, but I agree it doesn't look right :) How are you starting the program? Are you using a custom config file?

Best regards,

Webklex avatar Dec 22 '22 17:12 Webklex

@Webklex I'm doing it on Windows. Login to Twitter through browser -> copy the cookie -> leave twitter open -> run the program from command line with the -cookie option. I didn't use a config file.

forestfoxx avatar Dec 23 '22 07:12 forestfoxx