Post a message to friends inbox in facebook
How can i post a message to friends inbox in facebook. I know Facebook does not permit you to send messages to a user's inbox. As a result, there is a read_messages permission, but some application provide a functionality to invite friend, this invitaton 开发者_JAVA技巧send in friends inbox and notification email also send in frinds email ID, so have any possibility to send message in friend inbox on facebook.
Thanks
I am on a similar hunt, but here is something i know so far.
You can use fbml's fb:request-form to send invites, example below:
<fb:fbml>
<fb:request-form
action="index.php"
method="POST"
invite="true"
type="YOUR APP NAME"
content="Your text goes here. <?php echo htmlentities("<fb:req-choice url=\"YOUR CANVAS URL\" label=\"Authorize My Application\"") ?>" >
<fb:multi-friend-selector showborder="false" actiontext="Invite your friends to use YOUR APP NAME.">
</fb:request-form>
</fb:fbml>
is this what you are asking?
It's currently unsupported capability although facebook has indicated they will support it in the not-so-distant future.
You'll need to use a Facebook dialogue, but try this:
FB.ui({method: 'send', name: 'Facebook Dialogs', link:'https://developers.facebook.com/docs/reference/dialogs/'});
http://developers.facebook.com/blog/post/514/
精彩评论