I want to send Facebook friend invitations to some of our friends list without using FBML tags (
I am writing code in ASP.NET using
I spent a great deal of time looking, and finally came accross a very simple solution.
Using the Facebook Javascript API you can do a friend request with:
The callback script can then simply performs an ajax call to your server where you save info about the action, if needed.
You can test this by using the javascript console app on Facebook:
http://developers.facebook.com/tools/console
Paste in the script above, including the tags, or click the "Examples" button on the bottom of the text area and find the "fb.ui — friends.add" example.