Are you doing this on an external site or app? In either case, have them use the multi-friend adder and in the code the action attribute should be a URL back to your site/application - just add a GET variable to the end of it using the invite sender's UID as the value. Then after each person that claims the invite, you can capture the UID and store it in a DB table.