Web Applications Stack Exchange is a question and answer site for power users of web applications. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I send an email to john.doe@facebook.com then John will receive the message.

In my address book I have the Facebook ids of my friends.

Can I use those ids to send an email?
I just tried 12345@facebook.com and I received "Recipient address does not exist" (I replaced 12345 with my own Facebook id).

How to send an email knowing only the id?

share|improve this question
FYI: John Doe can receive an email at john.doe@facebook.com only if he enabled this feature. – Alex Jan 1 '12 at 14:54
@Alex: true at time of writing, but 8 months have passed and I believe the feature has been made opt-out now. – nic Aug 4 '12 at 17:33
up vote 4 down vote accepted

You can send emails only to people who have usernames claimed. Facebook doesn't allow sending emails to IDs.

Below's my original (wrong) answer.

Yes, the email is username@facebook.com. Your friends should receive them as long as you send them from an email associated with your Facebook account because the default setting is to accept messages from at least friends.

You likely didn't receive your test message because your setting is currently something restrictive. Emails to username@facebook.com are controlled by the same setting as all messages sent on Facebook, which is "Who can send you Facebook messages?" under How You Connect in Privacy Settings.

share|improve this answer

You can recover a user's facebook username through the Graph API. It is one of the few bits of data you can get on a user without them having authorized your application.

Visiting http://graph.facebook.com/FACEBOOK_ID will return a JSON object containing the username, their name, and anything else they leave open to the public.

share|improve this answer

Sending an email to a username is only effective if that particular name had the unlikely chance of being unique. If there are several identical user names facebook assigns a number following the username. To see the email address of a user, click on the ABOUT button on their home page.

share|improve this answer
I did not talk about usernames. I talked about ids. Every Facebook user has a unique id. It is a number like 10098419857324. – nic Oct 2 '13 at 6:26

protected by Community Feb 14 '14 at 14:10

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.