Those who post pictures of their flight boarding pass on social media may want to reconsider doing so, as it can lead to trouble.