How does the dispatch action call work in the Twitter sidebar
- by phwd
I would like to understand how the call for replies works as follows:
<a href="http://twitter.com/replies" data="{"dispatch_action":"replies"}">
<span>@phwd</span>
</a>
This was taken from the homepage of Twitter.
The section in particular being:
data="{"dispatch_action":"replies"}"
I believe (think), it is using Twitter's own twitter.js script and I do not want to interfere(or copy) with their code, I rather just want to know how the call works.
My current setup is using Abraham's twitteroauth PHP library, jQuery and some Ajax to refresh the portion of the page needed using the following method : Use jQuery and PHP to build an Ajax-driven Web page [IBM link - I am a new user so I can only post one link]
I apologize if this question is not formatted/worded well, it is my first time.
Also I tried searching DocType and StackOverFlow. The Related Questions show me Struts but I am not sure it is that.