I have installed Openinviter successfully on my shared server.
I tried to get contacts from Gmail, Yahoo and Facebook, but it always return an error such as:<blockquote>
Login failed. Please check the email and password you have provided and try again later</blockquote>
I also got an email from Gmail team that said:<blockquote>
Suspicious sign-in prevented</blockquote>
Please help me to sort out this issue.Answer1:
I have just encountered the same issue. I granted the application the privilege in gmail, then the code can retrieve the contact list. However, this stops me from using this code, as most of my users will not understand how...Answer2:
The Gmail team message isn't an OpenInviter problem. It just means that the IP address/device of the login is new for your account, it's not what Google is expecting, so they blocked it to be safe. It could also mean that an invalid oAuth token was user to try to access the account, or a bad password, etc. (For security, they don't explain why they thought it was invalid.)
You should be able to authorize that IP address (your server address?) by logging in to the Gmail account and checking the login history.
Related posts from Web Applications area on StackExchange (probably a better place to discuss this):<ul><li><a href="https://webapps.stackexchange.com/questions/39759/does-googles-suspicious-sign-in-prevented-mean-that-my-password-is-compromis" rel="nofollow">Does Google's “Suspicious sign in prevented ” mean that my password is compromised?</a></li> <li><a href="https://webapps.stackexchange.com/questions/26600/gmail-suspicious-sign-in-prevented-message-is-it-legit" rel="nofollow">Gmail “suspicious sign-in prevented” message - is it legit?</a></li> </ul>