Send Emails to friends through facebook connect ?

Hi,

Is it possible to send emails to your friends through facebook connect ?
I am building a site with social capabilities. I was wondering if users can send emails to their friends through facebook connect if their friends haven't signed up on the site.

Thanks,

Raz
ucsdmbdmAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

SwafnilCommented:
As far as I can see, this is a multistep operation, so the task needs to be split up into several steps:

1.) User has to add his Facebook account information (please provide a privacy policy if you are about to store the user data permanently)
2.) In case user decides to send mails to his friends, your Facebook connect handler needs to connect to the Facebook site and fetch the friends information to build a list of available contacts (namespace for this is "https://graph.facebook.com/me/friends")
3.) After the user picks his friends from the list, your handler needs to authenticate again and sends the data through the Facebook Web Service but as far as I know you will only be able to send internal Facebook messages and comments, which will then be forwarded through Facebook to the connected eMail accounts.

I would suggest to write a custom Facebook service class to handle all your Facebook interactions centrally, have a look at the Facebook documentation for all your options and how to load data from and send data to Facebook:

http://developers.facebook.com/docs/api
http://github.com/facebook/php-sdk/

If you need help, let me know!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ucsdmbdmAuthor Commented:
I think facebook doesn't give friends emails :(
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.