-
-
Notifications
You must be signed in to change notification settings - Fork 534
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
Implement tweet embeds #515
Conversation
also bumped css version
I'm sure we've noticed for so long that Nitter is lacking support for embeds. It's great to see that being implemented with this PR! However, I have one question about this: when the hide tweet stats option is enabled in settings, would that setting affect embeds like the rest of the site? |
Co-authored-by: Zed <zedeus@pm.me>
Co-authored-by: Zed <zedeus@pm.me>
Currently, the only thing it should support is overriding the theme through the url with |
Future work includes an embed "builder" page accessible via the upcoming tweet context menu. |
Seems like there are still some issues here. Nitter version: Meanwhile: |
@KazamaSion This is a closed pull request. If you found a bug please open an issue at https://github.com/zedeus/nitter/issues This is not "corrupted". you cannot replace twitter embeds that easily. Twitter embeds are evil, and works as follows:
Basically the iframe is generated at runtime alongside deploying their analytics on the site. The redirector probably breaks this process, is my guess, since just replacing the domain in the iframe by hand works for me. As for the widget, we are currently reworking some of nitter and waiting on a fix with Jester, before we implement more embeds. |
Add
/embed
to tweet links like this http://localhost:8080/SpaceX/status/1481699225675067395/embedmade twitter embed links redirect to nitter embed links for easy replacement
/embed/Tweet.html?id=...
->i/status/.../embed
picture uses