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

Twitter preview not working #102

Open
osujedi-99 opened this issue Aug 29, 2024 · 4 comments
Open

Twitter preview not working #102

osujedi-99 opened this issue Aug 29, 2024 · 4 comments

Comments

@osujedi-99
Copy link

Hi, we have a problem recently. The click to tweet function seems to be working, but the link previews are not when I go to the Twitter site. Any idea what might be causing that? When I go to the twitter composer, the link preview sort of hangs.

Any idea what might be causing that?
Screen Shot 2024-08-28 at 5 59 21 PM

@Benunc
Copy link
Owner

Benunc commented Sep 3, 2024

Hey @osujedi-99

The thing you have circled in the screenshot there is not the link preview, it's the Character counter.

The preview will likely not unfurl until after the post is live on X.

@osujedi-99
Copy link
Author

osujedi-99 commented Sep 4, 2024 via email

@Benunc
Copy link
Owner

Benunc commented Sep 4, 2024

Interesting!

I just tested on this article of your site, and I am seeing the preview even before posting:

CleanShot 2024-09-04 at 08 15 30

So then I went to the article from your screenshot above, to test. It also works:

CleanShot 2024-09-04 at 08 18 23

That rules out a wider problem and points to either Twitter/X putting some sort of limit on your particular account, or some caching on your browser maybe?

A lot of times if you've visited the site before that particular article had og tags (which is what creates that preview) that gets cached and the previews won't work for you. But it's working for everyone else.

To confirm that, try it in a different browser or different machine and see if the preview works.

If you get me a spot where the problem is reproducible, I can have a deeper look!

@Benunc
Copy link
Owner

Benunc commented Sep 4, 2024

Sidenote: great use of copy in those callouts. made me want to go read the article in both cases. 😄

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

No branches or pull requests

2 participants