A way to generate timeline widgets in code?


I need to auto-generate timelines within my own-created CMS based on screen name only (the only thing a user would know about).

The new timeline widget requires an ID, and the ID controls what account is being displayed rather than the URL that is also included when creating a new widget via twitter.com.

If I remove the ID no timeline is rendered despite the URL still being there.

Is there a way to create a timeline widget without the ID or is there an API call to generate it? Is the ID actually the account ID?

Thanks in advance,


The widget id is required, and is not related to the account id.
But you don’t need a different widget id for each account you want to display. You can use “Timeline Selection” as explained there: https://dev.twitter.com/docs/embedded-timelines#timeline-selection