I have creative ADD

using my own array

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.