By using Twitter JavaScript, you agree to the Developer Rules of the Road.
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 mark-up 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 apart 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 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.