Not so long ago on Habré there was a post about Twitter Developers , dedicated to the creation of the @Anywhere service. The main goal of @anywhere is the introduction of functions of working with Twitter to third-party sites using simple and universal methods. Technology support is included in just a few lines of Javascript code. Functions @anywhere:
creating links to structures of the form @ expression
displaying hover information
adding follow button
sending tweets from your site
Folding and sending tweets require user authorization in the application. Anywhere provides a method for verifying the user in the application (not on Twitter)
Read more here . As well as a description of the use of the service can be found here . Under a cat javascript example code.
UPD: First you need to get the APIKey application code by registering a new application here . Then connect @Anywhere javascript with this code:
')
Now you can use the twttr object, which will call the function anywhere ().