sferik / t-ruby

A command-line power tool for Twitter.
http://sferik.github.com/t
MIT License
5.43k stars 412 forks source link

Does this work anymore? #459

Open Debdut opened 2 years ago

Debdut commented 2 years ago

https://github.com/sferik/t/issues/458

It seems to me as with lot of problem not being able to authorize, this doesn't work anymore.

the-ebdm commented 2 years ago

Works fine for me fwiw

rjrobinson commented 2 years ago

Also having an auth issue

the-ebdm commented 2 years ago

If it helps, I created the ~/.trc manually. Though if you want any more than the first 180 characters of the tweet you gotta go find something else

MHBraun commented 2 years ago

What is the structure of the .trc file?

hollerith commented 1 year ago

Structure of two trc with two sets of users

---
profiles:
  <username>:
    <consumer_key>:
      username: <username>
      consumer_key: <consumer_key>
      consumer_secret: <consumer_secret>
      token: <api_token>
      secret: <api_secret>
  <second_user>:
    <second_user_key>:
      username: <second_user>
      consumer_key: <second_user_key>
      consumer_secret: <second_user_secret>
      token: <second_api_token>
      secret: <second_api_secret>
configuration:
  default_profile:
  - <username>
  - <consumer_key>
  shitposter:
  - <second_user>
  - <second_user_key>
hollerith commented 1 year ago

I was using this last week and I upgraded so broekn now. Needs to be ruby 2.7 I think really. I patched the http issue and got another issue with Proc.new

Wirone commented 1 year ago

I can't get it to work. I was able to generate config file following this comment, but I can't t update because of 'force_encoding': can't modify frozen String, even though #452 is closed as completed via sferik/twitter@0f8ff35c.

I've tried on Ruby 2.7.5, 3.0.4 and 3.1.2 via asdf.