9113

OpenInviter contact export request rejected by Gmail

Question:

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>

Recommend

  • Configuring UTL_MAIL Package Prerequisites
  • For each row check if value in one column exists in two other columns
  • Posting to Facebook page from Facebook application without login to facebook
  • Why segmentation cannot be completely disable?
  • Detect which app has been launched in android
  • Running scripts from Perl CGI programs with root permissions
  • Unable to save a query as a view table
  • Getting Started with LightInject
  • Convert array into percentiles
  • How to sort a javascript array by date
  • How to restrict number of concurrent processes?
  • 403 forbidden error while sending messages to facebook connector through Unification Engine API
  • Multiarray with one entry [duplicate]
  • parameterized queries in oursql
  • Sorting by a specific key of a multi dimensional array PHP
  • I can't get setInterval() to work in Javascript
  • How to display callstack line numbers when my program is broken in Rust?
  • Spring Web Flow exception handling
  • Why not Factory pattern for sorting? [closed]
  • CSS: How to fix overlapping divs
  • SQL query to group by maximal sets of a column having inner consecutive distances below a threshold
  • AWS-SES: Handling Bounces for Invalid ISPs
  • testing a POST using phpunit in laravel 4
  • Getting unread count in Sent Folder using Google Apps Script - GMail
  • Hibernate to update table schema
  • Can't remove headers after they are sent
  • Ajax calls do not work in IE unless you fiddle with security settings
  • How can I sort a a table with VBA with given text condition?
  • Email verification using google app script and google forms
  • Is it possible to access block's scope in method?
  • C# - Serializing and deserializing static member
  • Sending data from AppleScript to FileMaker records
  • Running a C# exe file
  • Arrow is showed instead of the material design version hamburger icon. Why doesn't syncState in
  • Akka Routing: Reply's send to router ends up as dead letters
  • Numpy divide by zero. Why?
  • Data Validation Drop Down Box Arrow Disappearing
  • How to include full .NET prerequisite for Wix Burn installer
  • Is it possible to post an object from jquery to bottle.py?
  • Does armcc optimizes non-volatile variables with -O0?