Contacts Importer/ Invite friends import Gmail Hotmail etc

I have successfully imported contacts with 'contacts' gem in my
localhost. But in production environment I am getting 'Authentication
Error'.
Please suggest a solution.

Thanks,
Rashila