JavaScript Interfaces for Twitter for Websites
If you’re integrating your site with Twitter using Twitter for Websites and Web Intents, you can enhance your application using JavaScript. By default, widgets-js will find markup in a page and convert basic, functional mark-up into rich interactive widgets. In addition, there are a number of functions of widgets-js that allow developers to work with Twitter content dynamically, after the page has loaded.
This documentation has been broken into chapters:
- Setting up Twitter for Websites
- Controlling Loading and Initialization of Widgets
- Factory functions to generate widgets
- Events from widgets and Web Intents
These functions make it possible to integrate a Twitter user’s content into your site dynamically in a JavaScript application, and integrate user interactions into your own application experience.
Please ask questions and share your code and examples in the developer forum. You may also refer to the main Twitter for Websites documentation.