- In this video I'd like you to use the technique
that I just demonstrated in the preceding video,
this time to get two recent tweets
from the NASAKepler account's timeline.
So go ahead and pause the video to give that a shot
then come back here to see my answer.
Okay let's go ahead and reveal the answer down here.
So again we're going to use the
API objects user timeline method.
This time we're going to be specifying
the NASAKepler account as the screen name
for which we wanna access the user timeline
and separately we're only requesting
two of the most recent tweets from that timeline
or I should say
the two most recent tweets from that timeline.
So we'll go ahead and execute that and of course
we wanna just iterate through those results
so that we can see them
and these are the two most recent tweets
and both of them happen to be retweets
of another account in this particular case.