Getting the friends contacts mail Id of gmail,hotmail,yahoo,myspace in RoR

Hello friends,

I am developing an application in RoR. After registration in this
application I follow the following steps:

  1. Enter the hotmail,gmail,aol email id.
  2. Enter password according to that mail id.

After submitting this information, I want to get the contacts in that
my mail id. How can I do this. Whenever I login next time, my contacts
should be there in the list of my application.

Pls visit http://www.spokeo.com for this functionality.

There is many gems for it, but I didn’t get any right solution.
Please let me know if u have any query about it.

Thanks
Raj Kumar Goyal

The blackbook gem works for me:
http://rubyforge.org/projects/contentfree/

Tiago M.

Tiago M. wrote:

The blackbook gem works for me:
http://rubyforge.org/projects/contentfree/

Tiago M.

Thanks for help.

hi,

Please help me!!!

am using ruby-1.8.6
gem blackbook-1.0.4

output is @contacts.inspect(collection of Emails and name)

I got this error :
undefined method `name’ for {:email=>“[email protected]”, :name=>“aaa”}:Hash

please give me further solution… please…

Thankyou.

hi,

Please help me!!!

am using ruby-1.8.6
gem blackbook-1.0.4

output is @contacts.inspect(collection of Emails and name)

please give me further solution… please…

Thankyou.

Smarty 2k wrote:

hi,

Please help me!!!

am using ruby-1.8.6
gem blackbook-1.0.4

output is @contacts.inspect(collection of Emails and name)

I got this error :
undefined method `name’ for {:email=>“[email protected]”, :name=>“aaa”}:Hash

please give me further solution… please…

Thankyou.

Hi smarty,

I got the same error, for this i changed my view like this,

<%= contact[:name] if !contact.blank? %>

I hope this can helps you.

Thank You.