Currently in the docs for embedded timelines https://dev.twitter.com/docs/embedded-timelines
it says the following:
“You may create an embedded timeline for any public Twitter user.”
However, when I create a widget under my twitter account and use the suggested code snippet
<a class="twitter-timeline" href="https://twitter.com/twitterapi" data-widget-id="YOUR-WIDGET-ID-HERE">Tweets by @twitterapi</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
Setting the href to a different user doesn’t do anything. It seems that I can’t pull anyone else’s tweets but mine using the widget. Contrary to what the documentation says.
I need to dynamically pull a user’s twitter feed to display on their profile for use on our website.
The current TWTR.WIDGET works well for what I need it, but it is being phased out because it uses API 1.0 instead of 1.1.
How can I embed the timeline for any user? Is the documentation incorrect or is it missing the correct code?