How can I add a friend invite feature to my newly created Facebook application?
The facebook documentation is very crude and the API is always changing so I think this is a fair question to ask, even if it was badly stated.
Lone Coder
2010-03-10 23:00:27
A:
I was able to get this to work by using this sample http://msdn.microsoft.com/en-us/windows/ee695841.aspx with this code:
<fb:serverFbml style="width: 755px;">
<script type="text/fbml">
<fb:fbml>
<fb:request-form method="POST" invite="true" type="MassiveFreecell"
content="You have been invited to the Application Name application. <%= Server.HtmlEncode(@"<fb:req-choice url=""http://apps.facebook.com/massive-freecell-dev/"" label=""OK"" />") %>" >
<fb:multi-friend-selector showborder="false" actiontext="Invite your friends to use this application." />
<fb:request-form-submit />
</fb:request-form>
</fb:fbml>
</script>
Lone Coder
2010-03-10 23:02:28