Skip to content
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

Work with x.com #270

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Conversation

Artoria2e5
Copy link

@Artoria2e5 Artoria2e5 commented Oct 9, 2024

Description

It doesn't work with x.com! Well it does now, if webrecorder/save-tweet-now#8 gets fixed. We are visiting the right URL, it's all the backend's fault.

Closes: #269

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
    • My dog ate my GPG key.
  • If files added, I have modified bundle.sh and esbuild.js to ensure the new files are included in the package
  • I have added necessary documentation (if appropriate).

Screenshots (Optional)

Concrete proof of it working. Somewhat.
image
image

Other information (Optional)

Any other information that is important to this pull request.

Fresh new way to do things. Won't work on my node 22 otherwise.
also add x.com, not just *.x.com, to manifest
@Artoria2e5
Copy link
Author

Artoria2e5 commented Oct 9, 2024

The new commit address the issue where image-side display is too narrow to fit the full button:
image

I simply choose to not emit the span if the available width is less than 2x the min-width of 165 px.
image

(Honestly in my opinion it should always be the small version, because it just blends better with the bookmark & share buttons that way.)

Otherwise it breaks on 1 reply. Thanks, elon, for once your addition helped.
@Artoria2e5
Copy link
Author

So on the backend front, manually editing the link from x to twitter like so: https://webrecorder.github.io/save-tweet-now/#url=https%3A%2F%2Ftwitter.com%2Fdimaheve%2Fstatus%2F1844176938895802615&autoupload=1 still works, but it gets stuck at the "pinning to IPFS" step. Should I add this workaround, or wait for them to properly fix the thing?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Does not work on x.com
1 participant