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 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

Answers


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/


Need Your Help

Use text representations of LINQ expressions

c# linq entity-framework asp.net-mvc-2

In my project, i use a lot of LINQ expressions and i would allow users to type their own queries by typing a linq query in a text input

Building a WHERE clause programmatically, then passing it into SQL as a parameter

c# sql where parameterized clause

On my asp.net project, there are instances where a server side filter function in C# is building an SQL WHERE clause, then passing it into an SQL stored procedure for example,

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.