Listing friends of one of my friends

I’ve edited the example above to include proper error checking.