View Single Post
Old 26 Jan 2009, 18:08
tpearl5's Avatar
tpearl5 tpearl5 is offline
Join Date: Nov 2001
Real name: John
Originally Posted by Hex_legend View Post
I have been asked by a lot of my members to do a feature where they can invite their facebook friends,
how easy is this if we use fb connect?
Does anyone know how to do this?
I created a file called fb_invite.php. You can see it in action here: (note that it is uploaded to my forum root)

I haven't tested this fully yet. Make sure under "canvas" on your facebook setting you have it set to FBML. I haven't gotten around getting the canvas page to display correctly either, but that shouldn't matter since you are redirecting the user to your forum home.

You could add a conditional to your pages that say 'if facebook user, display 'invite friends'.
Attached Files
File Type: php fb_invite.php (2.2 KB, 26 views)

Last edited by tpearl5; 26 Jan 2009 at 20:57.
Reply With Quote