Creating Embedded Twitter Feed On Site


I want to create an embedded user timeline widget much like the ones provided using the 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.


Include a data-screen-name parameter in your markup to override the user chosen during your widget configuration.


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