I have only seen this happen intermittently and unpredictably, so I'm
not sure how to reproduce it, but occasionally a JSON API call will
return duplicated/nested callbacks when a callback is specified.
e.g.

http://twitter.com/statuses/user_timeline/user.json?callback=my_func

will return

my_func(myfunc([<json data...>]);)

The javascript console complains because there is no ending semi-
colon, and so even if your "my_func" is able to handle bad data
(coming from the 2nd invocation), the 1st invocation is never called
because of the missing semi-colon.

Has anyone else seen this behavior?

I have submitted the issue to the tracker here:
http://code.google.com/p/twitter-api/issues/detail?id=158
Please star it if you encounter this problem as well.

-Chad

Reply via email to