Fixed Topsy API issue and factored out key while at it.