Since I’m not an expert with the Twitter API just yet, I’m going to grab the data I know I can get to and stick it in my own array, “tweets”.

The onUserTimeline function is fired via an event listener when the data is loaded initially loaded. Line 11 intercepts the data and pushes all my tweets into my own array, “tweets”. I’ll be using that array to switch between tweets.
0 responses so far ↓
There are no comments yet...Kick things off by filling out the form below.
Leave a Comment