Photo messaging app owner Snap on Tuesday gave weaker third-quarter guidance than analysts had expected as it works to compete with…