The footage showed an officer trapped on the ground and kicked, his colleague being pushed when she tried to intervene.
They suffered minor injuries but did not require hospital care.
The four suspects have now been charged with assaulting rescue workers and will appear in court later.
The video of Wednesday’s incident was widely publicized on social media, with the interior minister calling it a “repulsive and violent attack”.
The attack took place after a member of the public reported the two police officers in the Frampton Park Road area around 3:30 p.m.
They told the police that they had just been attacked and directed them to the suspected suspect.
When an officer tried to speak to those apparently involved, one of the men resisted and a fight took place.
A number of other people were involved while the officer was on the ground.
Several men surrounded them, swearing, shouting and filming on their phones, one of whom even danced and took a selfie during the attack.
Hackney police tweeted on Friday: “Hello, it’s nice to report that following an investigation into Tuesday’s incident at Frampton Park Road, three men and a 13-year-old boy were charged with assaulting rescuers. They will appear in court today.
“Thank you very much for your messages of support. “