AKRON, Ohio -- Two men are accused of using Facebook to plan a robbery, then pistol-whipping the man while carrying out the attack.

Malachi M. Scurry, 18, of Akron, is charged with aggravated robbery. Alonzo Porter, 18, of Akron, is charged with conspiracy to commit aggravated robbery.

Porter is in the Summit County Jail awaiting his first appearance in Akron Municipal Court. Scurry has not been arrested.

Porter set up the man to be robbed, according to court records. He sent Facebook messages to Scurry about how he was going to get the man to come to his house so they could rob him.

He invited the man to his home. Scurry followed through with his end of the plan, court records say.

Scurry walked up to the man on the front porch of Porter's home in the 1000 block of Copley Road.

He stole an unknown amount of money and a cellphone from the man, court records say. He then pistol-whipped the man and ran off.