StanScates / Tweet.js-Mod

Basic wrapper for Seaofclouds / Tweet.js that incorporates functionality with Twitter's v1.1 API
MIT License
234 stars 103 forks source link

The php return errors, and the js code stop with error #53

Open donnykurnia opened 10 years ago

donnykurnia commented 10 years ago

The php script return this response:

{"response":{"errors":[{"message":"Rate limit exceeded","code":88}]},"message":false}

My client using jquery.tweet.min.js and it stop with this error:

Uncaught TypeError: Cannot read property 'name' of undefined jquery.tweet.min.js:12

Right now I'm trying to modify your js code so it will stop when response have errors instead of try to map it using extract_template_data. I'll send you the patch after I successed make it work.

Thanks.