Yes, they’re trying to flirt.
Facebook and other online communities are ‘low-risk’ flirting venues. It literally costs a guy nothing to try something there. So they’ll put out lots of feelers hoping to get a hit.
You can safely assume that any guy that gives a surprised emoji on a photo would be absolutely thrilled to go on a date with you.