Posts tagged 〝callback〞

Safer JSON-P? An interesting feature of the Bing API

June 15th, 2009 at 10:38 am

The Bing API wraps JSON-P output in a typeof check so a missing callback does not throw; a neat idea, but silent errors hurt debugging, so log to the console.


Detecting and displaying the information of a logged-in twitter user

January 5th, 2009 at 3:12 pm

A JSON callback trick that greets logged-in Twitter users with their avatar, name, location and last tweet, later disabled by Twitter over phishing risks.