A man's plan to buy sneakers through Facebook ended up backfiring when he was robbed at gunpoint by the would-be seller, police said.

The alleged victim told police he posted a "status" on Facebook that he was looking to buy a pair of sneakers.

A man with the Facebook name "B-real Williams" -- later identified by police as Bryan Williams -- responded, saying that he had the sneakers the man was looking for and would sell them to him for $100, police said.

The pair agreed to meet at the 11th and Pike streets playground in Reading on Dec. 29, police said.

As Williams approached the victim and another person he was with, he asked, "Are you here for the shoes?" according to court documents.

The victim replied that he was, and Williams yelled for him and the other person to get on the ground and, pointing a gun at them, demanded the victim give him what he had, police said. The victim then threw $100 in cash at Williams, who subsequently fled the scene, police said.

Police said they managed to identify Williams, 21, through his Facebook profile. He was arrested and charged Monday with robbery, simple assault, recklessly endangering another person, theft by unlawful taking and receiving stolen property.

He was committed to the Berks County Jail on $100,000 bail.