People poke their friends or friends of friends on Facebook for a lot of reasons (ex: just saying hello, getting their attention). When you poke someone, they'll receive a notification.
I don't think people poke as much now. It used to be a way of letting people know you're thinking of them. Now, it has to be a like on one of their posts.