-
-
Notifications
You must be signed in to change notification settings - Fork 408
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dm command no longer works #405
Comments
Looks like the path is wrong in the public Update: 6.2 will break some stuff btw. At the very least make sure youre authorized. |
mandeluna, autodidacticon, did either of you get the direct messaging working? Can you provide help in detail? |
I haven't had time to look into this. |
@galenfarrel Pull down |
@autodidacticon Thanks for your response. I'm new to ruby, and github. Will you explain what you mean by "Pull down" and "build / install"? I've already downloaded the t and installed it with the command "gem install twitter"... |
In a separate directory: |
This caused the output to changed, but has not fixed the issue. Any ideas? C:\Users............\twitter-master>t dm @.................... hi C:\Users.............\twitter-master>t accounts And simliarly, C:\Users......>t account And if I enter the full t dm command, I get |
You need to invoke |
@autodidacticon This is the ticket, it's working now. Thanks a heap for the help! |
I'm on t version 3.1.0 and I'm getting an error below when I try to send a DM. Note that I'm already authorized. I can post a twitter update fine, I can stream updates etc, but I can't successfuly send a Direct Message. Here's the command line output error: `Miming-MacBook-Pro:~ miming$ t dm userIdOfAFriend hello /Users/miming/.rbenv/versions/2.7.1/bin/t: Sorry, that page does not exist` |
Got it to work by upgrading twitter gem to 7.0.0, but that additionally needs a workaround for authentication to work (on mac) #402 (comment). |
The dm command gives the following error
I am pretty sure this is happening because Twitter changed the DM REST endpoints.
I'm not much of a ruby expert but I looked at the gemspec and it says that there is a dependency on 6.1.0 of the Twitter REST client. It does look up-to-date with the latest direct_messages events API.
In cli.rb there is a call to
client.create_direct_message
but I can't tell if it's calling the new API or the deprecated API.I also know this is an old project and I'm not looking for someone to fix it for me, just suggestions on what I can do to fix it myself. I've been poking through the code for a few hours and I'm not getting anywhere.
Thanks
The text was updated successfully, but these errors were encountered: