I want to create an embedded user timeline widget much like the ones provided using the https://twitter.com/settings/widgets/new page. However, I want the widget to change depending on whos profile on my site they visit. So I want the widget to dynamically change by pulling the twitter screen name from my database and using that in the widget to display a timeline of their tweets.
Ive tried using EJS to get the twitter details from my DB. However this doesnt work as the data-widget-id does not use the users twitter id. So how can I create a users timeline by passing in their screen_name to the widget so it changes based on which profile page is visited.