Facebook Group Invite from Website

321 views Asked by At

I have a password protected user area created and only want active users in my user area to know about a secret Facebook Group. I provide support for the users of our software.

My question is how could I send an invite to join the Facebook user group automatically to the users email address (already provided during registration to my site) without having to go to Facebook and use the "Invite by Email" field.

Is this possible using PHP or other?

I am versed in PHP but have no idea how to get the hash code at the end of the Facebook invite.

1

There are 1 answers

1
AudioBubble On

It's really simple there is a built-in function in php called mail(). As for how to get the users email, since it's provided at registeration you can use a select statement then send the emails using foreach loop. If you are still not sure how to start google : how to send an email using php.