To appear on your Timeline, the other person must be connected to the application, have the same preferences as you and you must have crossed paths with this person.
You can also have a look at the Map to check out every place you’ve been to and find all the people you have crossed paths with.