On this page https://dev.twitter.com/web/javascript/creating-widgets it says the option parameter for creating a widget based on a widget id is “id”, however in reality that option is called “widgetId”.
I thought I’d share this here so that it can be fixed have a good day
Thanks, I’ll make a note for the next time we update the docs.
Thank you for reporting the issue. Factory function documentation updated.