1 00:00:01,110 --> 00:00:02,590 - In this self check exercise 2 00:00:02,590 --> 00:00:06,440 I'd like you to use that Tweepi api object that we used 3 00:00:06,440 --> 00:00:08,010 in the preceding video 4 00:00:08,010 --> 00:00:11,080 to get a User object from Tweepi 5 00:00:11,080 --> 00:00:14,600 that represents the NASAKepler Twitter account 6 00:00:14,600 --> 00:00:15,750 or if you'd like, 7 00:00:15,750 --> 00:00:18,490 you can use some other Twitter account as well 8 00:00:18,490 --> 00:00:21,440 and then we want you to simply display that accounts' 9 00:00:21,440 --> 00:00:24,870 number of followers and most recent tweet. 10 00:00:24,870 --> 00:00:27,380 So go ahead and pause the video to give that a shot 11 00:00:27,380 --> 00:00:29,280 then come back here to see the answer. 12 00:00:33,830 --> 00:00:35,940 Okay the first step of course is going to be 13 00:00:35,940 --> 00:00:37,940 to get the user object 14 00:00:37,940 --> 00:00:40,561 so we're going to use the get user method of the api object 15 00:00:40,561 --> 00:00:41,870 to do that. 16 00:00:41,870 --> 00:00:45,510 Again we're getting the account by it's Twitter handle 17 00:00:45,510 --> 00:00:47,850 in this case NASAKepler, 18 00:00:47,850 --> 00:00:50,390 and if that executes successfully we can then 19 00:00:50,390 --> 00:00:53,770 interact with that variable that we just created 20 00:00:53,770 --> 00:00:55,710 to get the number of followers 21 00:00:55,710 --> 00:00:58,000 via the followers count attribute 22 00:00:58,000 --> 00:01:01,310 and similarly we can get the most recent tweet 23 00:01:01,310 --> 00:01:06,310 by accessing the status objects text property or attribute. 24 00:01:06,410 --> 00:01:09,240 So this is the most recent tweet as of today 25 00:01:09,240 --> 00:01:11,853 from the NASAKepler account.