4

I installed "contacts" gem on my local machine, wrote some code to get yahoo, gmail and hotmail contacts, and it was running smoothly. I moved the code to a server for testing, my gmail and hotmail contacts were still running, but Yahoo gave me the following error:

Contacts::AuthenticationError: Username and password do not match

I am sure that email and password are correct. I tried my code on another server the behavior was the same ...

Any hints?

Matt
  • 14,353
  • 5
  • 53
  • 65
wael34218
  • 4,860
  • 8
  • 44
  • 62

1 Answers1

2

This is because Yahoo contacts uses Oauth, not BBauth: https://github.com/mislav/contacts/issues/4

The turingstudio version of the gem is more up to date and it seems to support Yahoo Oauth.

Install it using bundler:

gem "turing-contacts", :git => "git://github.com/turingstudio/contacts.git"
Christopher Manning
  • 4,527
  • 2
  • 27
  • 36
  • The gem source above does not work. This works: gem "turing-contacts", :git => "https://github.com/turingstudio/contacts.git" – TenJack Apr 12 '12 at 23:58