Standards/messenger-code
Messenger Code
Overview
Messenger Code was a proprietary scannable code in Facebook Messenger. Scanning one with the Messenger camera took you straight to that person's or business's account, so you didn't have to search for them or swap phone numbers 13. Each code showed the account's profile photo, surrounded by dots and lines that let Facebook recognise the image 1. The format is discontinued. The Messenger camera stopped scanning Messenger Codes on 15 August 2019, and Facebook told businesses to use ordinary QR codes instead 5. The Messenger Codes developer API was deprecated for all API versions on 29 October 2019 6.
History
- 7 April 2016: launch. Facebook announced Messenger Codes together with Messenger Links (
m.me/<username>short URLs) and more prominent Page usernames, and began rolling out codes and links that day 13.- TechCrunch reported that the codes were aimed mainly at businesses, with Page owners receiving downloadable code images in their Page inbox. Messenger head David Marcus said both businesses and people would get usernames, links and codes 3.
- Messenger then had more than 900 million monthly active users 13.
- Messenger product manager Tony Leach told TIME the codes would only work in Messenger: "[We're] trying to make it easy to talk to someone really fast" 1.
- Both TIME and TechCrunch compared the feature to Snapchat's scannable friend-adding codes 13 (see Snapcode).
- 18 April 2017: bots and events. Facebook brought Messenger Codes to its bot platform. A code scanned at a concert, a basketball game or another event opens a Messenger bot with more information, and businesses got tools to generate codes 4.
- April 2019: shutdown announced. Facebook announced that the Messenger camera would stop scanning Messenger Codes from 15 August, and advised against using them 5.
- 29 July 2019: API removal. The Graph API v4.0 release notes listed Messenger Codes among Messenger features "deprecated for all versions on October 29, 2019", next to the Location Quick Reply and Share buttons 6.
Facebook's reasons for dropping the codes don't appear in the sources found. Uniqode, a QR-code vendor, notes that Facebook "have not mentioned a specific reason". It suggests four possible ones 2:
- Few users knew the feature existed.
- Phone cameras now read QR codes natively, while a Messenger Code could only be scanned from inside the app.
- A QR code scans in under a second, but a Messenger Code took at least four taps.
- Facebook planned to integrate Messenger, Instagram and WhatsApp.
Technical specification
Facebook never published an encoding specification. Barcoder found no public description of how the dot-and-line pattern maps to an account.
What is documented:
- What the code looks like. It shows the account's profile photo, with dots and lines that let Facebook recognise the image 1.
- What it links to. A code opens the person's or business's account 1. It served the same purpose as the
m.me/<username>Messenger Link 3. - Where it could be read. Only Messenger's own camera could scan it 12. Scanning a code of someone you weren't friends with on Facebook sent them a message request before the chat opened 1.
- In the app. A user showed their code via their profile picture → My Code, and read someone else's with Scan Code 2.
Use cases
- Adding people. Scanning a code saved you from asking a new acquaintance to recite their phone number or spell their name 1.
- Business marketing. Facebook said businesses could use codes in ads, on websites and in other marketing materials 3. It also described them as good for flyers, ads, or "anywhere in the real world" a company wants people to try its bot 5.
- Events and bots. From 2017, codes at concerts, sports games and other events opened a bot with more information 4.
Implementations
There is no open-source encoder or decoder. Codes were generated by Facebook, for example delivered as images to a Page's inbox 3, and later through business tools and a developer API 46. They could only be read inside Messenger 1. The API was deprecated for all versions on 29 October 2019 6.
Fun facts
- Messenger Codes weren't Facebook's first scannable invites. Its earlier anonymous app Rooms let users invite others with scannable codes 13.
- In 2017 TechCrunch noted that Facebook "freely admits" QR codes "never quite caught on" in the U.S. Two years later, Facebook pointed businesses to plain QR codes in place of its own format 45.
Comparison
- vs a standard QR Code with an
m.melink. This is the replacement. Facebook recommended normal QR codes 5, and Uniqode shows how to encode a Page'shttps://m.me/<page>link in one 2. A QR code opens in any phone camera; a Messenger Code needed the Messenger app 12. A Messenger Code carried the account's photo 1; a QR code carries a link anyone can read. - vs Snapcode. Both are app-only friend-adding codes. Snapchat's came first, and Messenger's was explicitly compared to it at launch 13.
- Related discontinued social codes: Instagram Nametag. A current branded code: Spotify Code.
Status
Discontinued. Messenger stopped scanning Messenger Codes on 15 August 2019 5, and the developer API was deprecated for all versions on 29 October 2019 6. Facebook's suggested replacement is an ordinary QR code 5.
Sources
Deployments
No country reports mention this standard by name.
Regions / aggregations not mapped to a single country
- Universal