The Twitter users' profiles contain two different, potential sources of geographic information: the profile itself and the most recently tweeted status update. We will utilize both options in this recipe with an eye toward usability in constructing a geographic visualization of our friends.
You will need the harvested friends' and/or followers' profiles from Twitter, as directed in the previous recipes.
Perform the following steps to extract the geographic data that we need to visualize the approximate locations of our connections:
In: fname = 'test_friends_profiles.json' ...