How do I get the Twitter Widget ID number?
-
I just bought the Arcade theme and am trying to add the social buttons in the header.
The Twitter Widget Configurator gave me the following code:
Tweets by @KCM1207
<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>Which obviously does not include the ID number that I need for WordPress — how do I get this number?
I tried pasting the Twitter code into a WordPress post to see if the code would refigure automatically, as it sometimes does with Youtube videos. No luck.
Thanks!
[twitter-timeline id=1234 username=yourhandle]The blog I need help with is: (visible only to logged in users)
-
Hi there,
Your Twitter Widget ID number isn’t actually included in the code that Twitter gives you — it the long number in the URL (in your browser’s address bar) while you’re editing your Twitter widget on Twitter. We have more details about how to find that here: Twitter Timeline Widget
Once you have that ID number, you won’t need any of the other code Twitter gives you for that widget. Please let me know if I can do anything more to help with that. :)
- The topic ‘How do I get the Twitter Widget ID number?’ is closed to new replies.