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: embedded timeline broken unless logged in #777

Open
GraemeWatt opened this issue Mar 19, 2024 · 0 comments
Open

twitter: embedded timeline broken unless logged in #777

GraemeWatt opened this issue Mar 19, 2024 · 0 comments
Labels
complexity: medium priority: medium type: bug Indicates an unexpected problem or unintended behaviour

Comments

@GraemeWatt
Copy link
Member

GraemeWatt commented Mar 19, 2024

The HEPData homepage shows a feed from the @HEPData X (Twitter) account:

<p>
<a class="twitter-timeline" data-width="800" data-height="200" data-dnt="true"
href="https://twitter.com/HEPData?ref_src=twsrc%5Etfw">Tweets by HEPData</a>
</p>
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

This shows "Nothing to see here - yet" unless the user is logged in to X (Twitter) from the same browser and their browser allows cross-site tracking (often not the default). This seems to be a known problem for almost a year with no definite resolution:

https://devcommunity.x.com/t/again-list-widget-says-nothing-to-see-here-yet-if-logged-out/198782

I tried a proposed third-party workaround (https://www.athabasca.dev/twitterwidget), but it did not work when testing locally. For now, I'll leave this issue open until a solution can be found. I'll add some explanatory text underneath the embedded Twitter widget:

Tweets are not displayed unless you are logged into <a href="https://X.com" target="_blank">X (Twitter)</a> and your browser settings allow cross-site tracking.

In the longer term, if no solution becomes available, we should consider removing the embedded Twitter widget from the HEPData homepage.

@GraemeWatt GraemeWatt added type: bug Indicates an unexpected problem or unintended behaviour priority: medium complexity: medium labels Mar 19, 2024
@github-project-automation github-project-automation bot moved this to To do in @HEPData Mar 19, 2024
@GraemeWatt GraemeWatt moved this from To do to On Hold in @HEPData Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: medium priority: medium type: bug Indicates an unexpected problem or unintended behaviour
Projects
Status: On Hold
Development

No branches or pull requests

1 participant