sonnyt / tweetie

Simple jQuery Twitter feed plugin
https://sonnyt.com/tweetie
312 stars 116 forks source link

If loading more than one tweet JS error ( #80

Closed netfuelltd closed 7 years ago

netfuelltd commented 7 years ago

I have downloaded the package today and deployed on my own server. If I change the number of tweets to anything other than the default 1 it shows an error "Uncaught TypeError: Cannot read property 'text' of undefined". I uploaded the demo exactly as is and the second feed didn't work at all (same error) with nothing changed whatsoever.

It seems to reference this: "tweet.retweeted_status.text)" on line 115.

I noticed that the demo on Sonnyt's website works fine with several tweets loading, but when I looked at his JS it seemed to be different to that of the download package so I assume things have changed?

Cheers

netfuelltd commented 7 years ago

I worked out the "issue" but it's a strange one. I changed the API details from the user's account being loaded to my own company and it works perfectly. Strange.