RichG, just got your PM, interesting, if it does work differently in IE8 then it isn't W3C complaint....IE9 and Firefox are both HTML5 compatible and Firefox is fully W3C complaint...
I've since tried:
Opera version 12.00
Chrome version 21.0.1180.60 m
Safari version 5.1.7
Internet Explorer version 9.0.8112.16421
All return the same as Firefox version 15.0:
Ok, I can see how this is supposed to work, ignoring the svchost.exe command and just posting the URL with various parameters into a browser.
So the API gets the number of tweets from the server using:
URL/GetLatest
This returns a JSON item 'd', which has two comma delimited numbers which I assume are tweets for Car A and tweets for Car B. What are the parameters subtractorCarA and subtractorCarB supposed to do? I can see that supplying a number for either adjusts the tweets returned, BTW, if I supply a negative number I can actually increase the number of tweets returned, this should be fixed as it would mean clients could fiddle the results.
It looks like the client would have to keep track of the actual tweets as the server always returns the cumulative values, subtracting only seems to adjust the values returned in the URL. If the client is keeping track of the tweets then no need for the subtractor options.
So I think the client could just keep track of the last cumulative total returned and apply that to the new total returned with the time stamp.
BTW, for the developers, JSON allows you to create objects that are desciptive, so you could and IMHO should change the returned data to something like:
CODE{"carAtweets":33,
"carBtweets":15,
"time":"20:36:33.0781"}