How can I get the data-widget-id of my twitter timeline widget?

embeddedtimeline

#1

Hello,
I have 2 twitter accounts.
For the CMS I’m using, I only need the data-widget-id so that it will appears on my website.
The developpers of my organization have set this so that we can easily add a twitter widget on our website (and of course especially to avoid any users to touch the website code).

For one twitter account (la_CSC), the twitter timeline widget was created (not by me) 2 or 3 years ago. And there I have the data-widget-id (see below):

<a class="twitter-timeline" href="https://twitter.com/La_CSC" data-widget-id="525217840249315328">Tweets de @La_CSC</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.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

data-widget-id=“525217840249315328”

Now for my other twitter account (hetCOV) I need to create the same kind of widget so that I can get this data-widget-id! But when I click on “create new” in the widget section, I land on this page: https://publish.twitter.com/
On this page I see just the embed code but I don’t see how to really create a widget! (there is no actual button “create your widget”)

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

There is no data-widget-id in this code…
Could someone please help me on this issue?
Thank you and best regards


#2

We have moved away from requiring widget IDs. Our new publish.twitter.com portal enables you to simply paste in what you want (either a single Tweet URL, or a username, list, timeline etc) and then click to generate the embed code you can use in your site directly.


#3

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