Closed Zcehtro closed 2 years ago
Same issue as in https://github.com/privatenumber/snap-tweet/issues/19 I suppose.
Thanks for the issue. It should work fine now:
npx snap-tweet https://twitter.com/jack/status/20
FYI the issue with Node v17 is also fixed if you want to go back to using it.
BTW, interesting that your image is significantly lower quality than mine, and the corners are black instead of transparent. I wonder what could be affecting that.
The black borders are because I was opening it in irfanview. Irfanview uses by default a black background but doesn't handle transparency well when saving new images. I assume therefore the tweet border is transparent.
Regarding the resolution of the image, I haven't got a clue... 🤨
You know... something happened now and I can't take a snap. I'll open a new ticket... 😶
Something was happening that I couldn't take a snap, the program froze every time, stuck in the CLI with the message like taking a snap
but it never changed. Somehow it resolved itself.. Maybe I needed to reopen the shell for installation changes to take effect... who knows.
Bug description
What did you do? (Provide code in next section) Took a snap of a tweet of one of the built-in examples. @jack's tweet #20.
What did you expect to happen? For the snap to appear as in the READ.ME on the git page.
What happened instead? The program executes correctly on the CLI. But, in the produced snap, instead of there showing an
separator and then the replies, rt's and likes.. there's a button that says Read XX replies.
Do you have an error stack-trace? Don't know what this is, but I'll get it if it can be explained to me :)
Reproduction
Provide one of the following:
FYI I am not logged in to twitter on the browser, but I doubt that has any effect.
Environment