Reputation: 97
I have created a website there have added "Invite from Facebook API". It works fine.
What I want is how to retrieve the invited user data?
My code is-
<script src="http://connect.facebook.net/en_US/all.js"></script>
<div id="fb-root">
<p>Invite On Facebook</p>
<p><input type="button" onclick="invitefriends()" value="Facebook" /></p>
</div>
function invitefriends(){
FB.init({appId: 'xxxxx', xfbml: true, cookie: true});
FB.ui({
method: 'send',
name: 'Facebook Dialogs',
link:'http://mydomain/UI/home.php'
});
}
which is refer from this link
Can any one please help me one this.
Upvotes: 0
Views: 386
Reputation: 20753
As mentioned in the documentation- "There is no response data from Send Dialog." That means you cannot get the details of the user(s) to whom the message is sent.
I'm not sure what exactly are you trying to do with Send Dialog, but there are other Dialogs too that you can have a look; some have the callback that gives you the id of the friends to whom the request is sent. But of-course it should match with your requirement.
Upvotes: 1