UPDATE: Thursday, Nov. 5, 3:11 p.m.: Chantelle's friend Sam Smith speaks to a Perth radio station, reveals he also posted a photo of the ticket, as investigators are closing in on the culprit.

Someone learned the hard way it is wise to not post a winning ticket on social media.

A woman named Chantelle from Perth, Australia, was so pumped at winning a bet on the Melbourne Cup horse race that she shared her excitement on Facebook, according to radio station Triple M.

The Australian with a wide grin posted a selfie with the winning ticket — complete with identifying barcode — to celebrate winning $825, on a horse called Prince Of Penzance with 101-1 odds.

Unfortunately, one of Chantelle's Facebook friends is apparently not a real-life friend. Someone used the barcode to claim her winnings, making Chantelle now Australia's biggest loser instead.

“To the low life who is obviously my friend on Facebook and used my photo to claim our winnings. You’re a massive dick. You ruined my day,” she wrote on Facebook.

Image: Triple M / Facebook

It was a ticket she bought with two other friends, including Sam Smith, who put $10 on a win and $10 on a place. "I wonder how the person who cashed in our ticket feels now it's all over the Internet," Smith wrote on Facebook. "I almost feel sorry for them for when we find out who it is."

Speaking to Perth radio station 6PR, Smith said along with Chantelle's selfie, he also posted a close up of the ticket on Facebook. "Chantelle posted a selfie and I posted a photo of the ticket itself. I didn't have it up for long because a friend messaged me and said 'you need to take that down as someone will steal your money,' but I didn't think it was thing.

"By the time we went to claim it, it was gone," he said.

Western Australia TAB are confident the person responsible for the theft has committed fraud. 6PR said investigators at the TAB knows when the ticket was cashed, where it was cashed and have surveillance footage of the person in the act.

"It is a bit disappointing that it could be one of our close friends," Smith said, before claiming his Facebook account is set to private. On Thursday, posts can still be viewed publicly on his page.

It's yet to be seen if Chantelle and her friends pay a hefty price for their stupidity. For now, Triple M has sorted her out with $20, the price paid for the ticket, and TAB have given the group $100 for a new bet.

CORRECTION: Wednesday, Nov. 4, 8:11 p.m.: Winning amount changed from $900 to $825.