Note that there are some explanatory texts on larger screens.

plurals
  1. POIs there a way for users of my website to invite their friends via Facebook Connect or the API?
    primarykey
    data
    text
    <p>Working with the Facebook API makes my ears bleed, but nonetheless I've got a specific problem here which I'm hoping someone can find a solution for. I'm using the Facebook PHP SDK to allow users of my website to link their FB account with their website account, so they can return later and log in with one click (by storing their OAuth tokens in my database). This is all working fine - what I now want is to be able to provide users with the facility to invite/recommend their friends to my site, using a form on my site.</p> <p>I've tried FBML examples from many places including <a href="https://stackoverflow.com/questions/1781973/facebook-connect-displaying-invite-friends-dialog-and-closing-on-completion">here</a> - I've managed to get an invitation form to display but try as I might, all I can get it to generate is an invitation to my <strong>application</strong>, which isn't relevant. The app exists only so that I have an OAuth ID/secret to use with the Graph API. I want to invite the user's friends to my website, or at the very least to a Facebook Page plugging my website. But seemingly including this FBML on my page will only generate application invites.</p> <p>My question: is there any way to accomplish this? Can I invite the user's friends to my site (ie. to a specific URL), or invite them to my FB Page? Am I approaching this from the wrong angle?</p> <p>Any advice would be much appreciated. If you'd benefit from any further info, please let me know. Many thanks,</p> <p>Biggs</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload