Facebook's new 'Invite friends' tag
Everyone's been either copying and pasting or writing from scratch some code to add "Invite friends" to their Facebook apps, but now there's a simple tag that they've provided. It's currently in beta and, knowing Facebook, is bound to change and break everything a few times, but it's very easy to use:
<fb:request-form action="invite.php" method="post" type="trust" content="Invite friends to trust you<fb:req-choice url='http://apps.facebook.com/i_trust' label='Add iTrust' />" image="http://apps.exponetic.com/itrust/ _img/iTrust-logo-magenta-small.gif"> <fb:multi-friend-selector actiontext="Select friends" /> </fb:request-form>
(Note the slightly dodgy <fb:req-choice> tag inside the content attribute.)
We're now using it at Exponetic on our second Facebook application, called iTrust.
Exponetic, Facebook developers in London
iTrust
Six degrees of separation
Comments:
Hello
Just to tell you that this is the first Facebook Invite code I've seen that's actually working!
Thank you
S. Ali Tokmen
http://ali.tokmen.com/
It's not working for me. Do you need some other code to process the form? This is supposed to be able to invite friends to you app, right?


