35

I am trying to add a feature in my website to let the user invite his email contacts to visit the website, the same as twitter and facebook are doing.
I got bored from trying to implement this feature for each email service, for gmail, yahoo, msn. and when I success in implementing one another one change somethings in their APIs and i start to debug the problem.

By the way, is there an API or a webservice I can use which can give me this feature?

enter image description here

0

7 Answers 7

11

Found this API http://code.google.com/p/socialauth-net/ and seams good, will test it and write here later the result.

2
  • The demo i downloaded and uploaded on my server is not working :( Sep 2, 2011 at 7:23
  • 1
    I am currently doing another try on this and will write an update here if something new. Jan 1, 2012 at 19:14
3

Context.IO allows you to extract the contacts directly from the email data, as long as the emails are accessible through IMAP

2

http://openinviter.com/ has those apis used its in PHP although you should be able to get some idea on how to call them from C# .

Here is a demo http://openinviter.com/demo/

3
  • 5
    but this is not working as it in facebook or twitter, it asks the user for his email and password, which is something very bad and unsecured. Aug 19, 2011 at 13:17
  • Your site wont be able to access the users email contacts without prompting for their email password.
    – johnluetke
    Sep 2, 2011 at 4:12
  • 1
    @johnluetke. The idea is that your site shouldn't have this information. Your password should be requested in separate window from the gmail or so. It should work like OpenID authorization.
    – Alleo
    Sep 2, 2011 at 5:29
2

This question is similar to:

https://stackoverflow.com/questions/2627722/free-api-for-friends-invite-from-gmail-yahoo-aol-hotmail-php-ajax

Sounds like the packages Gigya and Plaxo worked for that user.

1

There are no good open sources solutions to this problem. I have used the commercial products from this company and they work well:

http://stescodes.com/

You can see it in action on this site: http://www.gamzoo.com

The alternative is to research each individual email provider from which you would like to download contacts and implement somethign custom with each. The good news is that they are all starting to utilize OpenAuth for the authentication piece, but it's still a custom job for the most part.

0

I've used Janrain. It's rather expensive though, and you pay for many other features, not just address book access.

It's coverage is limited to the few most popular services, but I don't think you'll get anything better using OpenID.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.