-
Notifications
You must be signed in to change notification settings - Fork 38
Crash when trying to perform write action with read-only keys #444
Comments
Is this happening with all tweets, or just some?
If you're running a custom build, can you make sure that you've passed |
I tried rerunning I haven't been exhaustive but I haven't been able to successfully "heart" a tweet, whether a real tweet posted by a friend or a retweet that made its way into my timeline. I have a bunch of output, as before, but as it includes stuff from my Twitter account I'm hesitant to post it here. (I could send it to you privately if you like.) However, I note that when I right-click on the tweet to bring up the four tweet actions, the log ends at I can also reproduce the crash by clicking on the tweet to bring it up by itself ( I was concerned about the lines saying
|
I've just checked and it seems like we don't do debug for Like/RT. Which is annoying. There must be something bad in the JSON, though. I'll make a quick branch with some extra logging in. |
There, I've added some debugging. If you can build that branch then it might give a bit more info. The other thing that you can try is running it in
|
Thanks! The failure seems to have to do with the application credentials I created. From the log:
Indeed, the token I've been using was generated for a Twitter app that I created some ten years ago and only has read permissions. I guess Twitter must have added authorization at some point, or maybe I was inadvertently using a different Twitter app. Either way this also answers why I can't successfully post from Cawbird any more. Thanks for once again helping me debug an idiosyncratic self-inflicted bug! |
I'll keep this open because we shouldn't crash on that. But yeah, if you're using bespoke keys that are read-only (which they might be for a while until Twitter activate them) then you will be able to retrieve tweets but not like/RT/post 😁 |
Describe the bug
Trying to "heart" or retweet any tweet causes Cawbird to crash immediately.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A retweet or like request is issued and Cawbird continues running normally.
System details:
Additional context
The tail end of my log when I run with
G_MESSAGES_DEBUG=cawbird
shows:The text was updated successfully, but these errors were encountered: