Ruby on Rails Captures Yahoo Contacts on Contacts Jewelry

I installed β€œcontacts” on my local computer, wrote the code to get yahoo, gmail and hotmail contacts, and it worked smoothly. I moved the code to the server for testing, my gmail and hotmail contacts were still working, but Yahoo gave me the following error:

Contacts::AuthenticationError: Username and password do not match 

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

Any clues?

+4
source share
1 answer

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

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

Install it using bundler:

 gem "turing-contacts", :git => "git://github.com/turingstudio/contacts.git" 
+2
source

Source: https://habr.com/ru/post/1342846/


All Articles