Tell me more ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

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
2  
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. – Nicolas Raoul Aug 4 '12 at 17:33

2 Answers

up vote 3 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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