Aran Khanna was preparing to start the coveted internship at Facebook three months ago when he launched a browser application called Marauder's Map that used data from Facebook Messenger to map where users were when they sent messages, a report in said.

The app "capitalised on a privacy flaw that Facebook had been aware of for about three years: the Facebook Messenger app automatically shared users' locations with anyone who they messaged," the report said.

Khanna tweeted about the app on May 26 and soon it went viral. However, within three days, Facebook asked Khanna to disable the app and then withdrew its internship offer to him, the report said.

The company also deactivated location sharing from desktops, which meant Khanna's app wouldn't work even if he hadn't taken it down. Before it was disabled, the extension was downloaded more than 85,000 times, Khanna said.

Khanna also received a call from Facebook's global communications lead for privacy and public policy, who reiterated that Khanna shouldn't talk to the press because the story had become damaging, the report added.
Khanna complied, redirecting all press inquiries back to Facebook but Facebook still asked him to deactivate the extension, which he did.

Khanna however also updated an online post in which he said that Facebook asked him to disable the map.

Matt Steinfeld, a Facebook spokesman, said that the mapping tool scraped Facebook data in a way that violated its terms, and those terms exist to protect people's privacy and safety.

"Despite being asked repeatedly to remove the code, the creator of this tool left it up. This is wrong and it's inconsistent with how we think about serving our community," Steinfeld said.

Khanna maintains that the app was aimed at showing users how their data was being used. "I didn't write the programme to be malicious," he said.