Facebook - Refer a friend functionality
I need to create some functionality on a clients website which lists the users friends and allows them to send a link to their inbox.
So far, I have it listing the users friends using fb.api
functionality, but from what I can see, there is no way to send the users friend a message (not post to their wall, this needs to go into their inbox.)
edit: The user 开发者_如何学Cwould log in first.
Does anyone know if this is possible? I've tried looking at fb.ui
but I can't seem to find anything useful.
I think this is (or should be) impossible. I wouldn't like it at all if a third party could send me messages because one of my friends allowed it. I guess that would be my last day on Facebook.
I would suggest you look into the fbml fb:request-form doc's. It looks to me like this is what MGM is using. This allows a user to invite friends, and I think it's as close as you can get to what you are truly after.
http://developers.facebook.com/docs/reference/fbml/request-form
精彩评论