sending a private message to your friends via Facebook IOS SDK

joshua picture joshua · Apr 14, 2011 · Viewed 10.5k times · Source

I saw your post about sending messages to your Facebook friends via the IOS Facebook sdk,

I was wondering if there is a way to send a private message as well to these friends.

If not, is sending messages to your Facebook friends still supported from your previous post at:

iOS Development: How can I get a Facebook wall post to show in the friend's news feed?

If so let me know, thank you in advance

Answer

KLEW picture KLEW · Aug 6, 2012

It is possible to send a private message via facebook- just not with the SDK. You can get the user's 'username' (ie. http://www.facebook.com/username) and you can send them an email via your app to '[email protected]'.

Shapow!

Major bonus: attach a file and it will be included in the facebook message.

One caveat: the email will not reach the recipient's message inbox unless the sender's email address is affiliated with a valid facebook user account. I would imagine this is in place to thwart spam.