Embedded profile not loading on Website



Using the embed widget I get only the link to the twitter profile, but not the tweets on our website.

Example here: https://www.webpackaging.com/en/portals/albea/

The code generates the following class=“twitter-timeline twitter-timeline-error” but how can I debug and see what error is?



I used publish.twitter.com to generate the embed code for your account’s timeline.

Using the Chrome web inspector, I then simplified your code to include that:

<div class="container">
<a class="twitter-timeline" href="https://twitter.com/AlbeaOfficial">Tweets by AlbeaOfficial</a> <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

Finally, I called twttr.widgets.load() in my Javascript console, and the widget displayed as expected.

You’ve changed the anchor reference to this:

That is not a valid link that the widgets.js code can parse to resolve to a Twitter timeline. You’ll need to change this to be a direct link to your Twitter profile. Making that one change should fix the issue.


Thanks, got it.

A javascript rewrites external links. That should be easily fixable.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.