{"id":7954,"date":"2015-11-12T03:17:01","date_gmt":"2015-11-12T03:17:01","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2015\/11\/12\/sending-a-private-message-to-your-friends-via-facebook-ios-sdk-open-source-projects-facebook-facebook-ios-sdk\/"},"modified":"2015-11-12T03:17:01","modified_gmt":"2015-11-12T03:17:01","slug":"sending-a-private-message-to-your-friends-via-facebook-ios-sdk-open-source-projects-facebook-facebook-ios-sdk","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2015\/11\/12\/sending-a-private-message-to-your-friends-via-facebook-ios-sdk-open-source-projects-facebook-facebook-ios-sdk\/","title":{"rendered":"sending a private message to your friends via Facebook IOS SDK-open source projects facebook\/facebook-ios-sdk"},"content":{"rendered":"<p><img decoding=\"async\" src=\"http:\/\/www.gravatar.com\/avatar\/a8802db1bfed05de3562ce123931a541?s=128&amp;d=identicon&amp;r=PG\" \/> <strong>KLEW<\/strong><\/p>\n<p>It is possible to send a private message via facebook- just not with the SDK. You can get the user&#8217;s &#8216;username&#8217; (ie. http:\/\/www.facebook.com\/username) and you can send them an email via your app to &#8216;username@facebook.com&#8217;.<\/p>\n<p>Shapow!<\/p>\n<p>Major bonus: attach a file and it will be included in the facebook message.<\/p>\n<p>One caveat: the email will not reach the recipient&#8217;s message inbox unless the sender&#8217;s email address is affiliated with a valid facebook user account. I would imagine this is in place to thwart spam.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>KLEW It is possible to send a private message via facebook- just not with the SDK. You can get the user&#8217;s &#8216;username&#8217; (ie. http:\/\/www.facebook.com\/username) and you can send them an email via your app to &#8216;username@facebook.com&#8217;. Shapow! Major bonus: attach a file and it will be included in the facebook message. One caveat: the email [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-7954","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7954","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=7954"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/7954\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=7954"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=7954"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=7954"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}