Widget not working - Configuration is not found


Hello I am using the Widget to embed a timeline regarding an hashtag.
The widget comes up empty with a line saying “Hmm, an empty timeline. That’s weird.”.

The code is the folliowing (copied from Twitter widget editor) :

Tweets about "#parlamentocasadivetro"
!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");

Using firebug inspector I can see this warning:
“Widget configuration is not found. widgets.js:29”

Any idea? I tried embedding the same widget for a different and shorter hashtag (#parlamento) and it was working. Is that the hashtag I am using is too long for the widget?


You need to ensure that you have the data-widget-id=<number> part of the code present in the embed code. That number corresponds to the widget you configured on the Twitter website.