To befriend a cog, click the "New Friends" button in your friends box, then select a cog. Most will turn you down, but if you're lucky, one might say yes. Keep in mind that even Yesmen don't always agree, despite their name.
If you do become friends with a cog and teleport to it, you'll usually end up in a battle—and by the time you log back in, that cog may have vanished from your list, since it likely "died" in the fight.
Look for me and my sister on Toontown! I'm Rosie, a super-short mouse in a pink dress, and my sister is Lily Purpletooth, a blue bunny in a red dress. Thanks for reading the whole thing!