New widget link has a blank data-widget-id and widget doesnt load



I’ve created a widget for my site and the link it has generated has no data-widget-id (its blank). See below. The result is I only see the link “Tweets by” and then nothing… I have done this before and normally there is a long ID, but this wont generate one. I’ve tried deleting and re-creating it. I had a working widget before but wanted to change the height, so deleted it and created the one below, but its not working. Does anyone know a fix for this or a way I can coax it to generate code with an ID? Many Thanks

        <a class="twitter-timeline"  href="" data-widget-id="">Tweets by @KTheodLanguageS</a>
        <script>!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.src=p+"://";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>


Hi, I’m experiencing the exact same issue! I’ve been looking through the forums and cannot figure this out. I’ve used the twitter widget before successfully and I can pull and I can pull a widget previously created onto my website so I know it is not an issue with my website.

I get a blank data-widget-id when I try to create a new widget. And when I post that to the HTML of the website if only renders “Tweets by @_____

This seems like a recent issue as I was still able to do this a few days ago. Any support would be highly appreciated.


I just figured out by also searching these forums that you can grab the missing ID from the url when you are in the widget generator. Paste your long numerical ID in the code: id="" (between the quotation marks). This worked for me, after I night of lost productivity. Hope it works for you too! (*disclaimer, not a coder, just sharing what worked for me because I couldn’t find any documentation from Twitter).


I have been hunting for this as well. I knew I had one, as I have used it but I am setting up someone else’s and I couldn’t find it. Thanks.


Where would I find My ID?


Yeah, the data-widget-id is in the URL when editing or creating the widget. Something is broken in twitters embedded code generation that leaves out the data-widget-id. Thanks for this info!!!


THANKS!!! all day searching for the solution, you are the best!!


Sorry about the bug. It is fixed now. You should see data-widget-id in the code snippet.