Questions tagged [omnicontacts-gem]

14 questions
12
votes
3 answers

Force google to show account chooser and consent screen

I am able to use both prompt=consent and prompt=select_account individually, but Google doesn't seem to allow me to combine them. I tried the prompt=consent+select_account as suggested in an answer of Force google account chooser, but that fails…
user3591271
  • 151
  • 1
  • 5
4
votes
1 answer

Omnicontacts redirect_uri: facebook, hotmail, yahoo

I am using the omnicontacts gem so that users can invite their contacts on my website. I have set it up successfully for Google. I have setup an omnicontacts controller with the contacts_callback method as suggested by the gem's readme. and a route:…
user2911232
1
vote
0 answers

OmniContacts Rails

Task: import contacts from Gmail. I use gem omnicontacts. omnicontacts.rb: Rails.application.middleware.use OmniContacts::Builder do importer :gmail, ENV['API_KEY'], ENV['API_SECRET'], {:redirect_path => '/contacts/gmail/callback'} My…
RomanOks
  • 692
  • 3
  • 13
1
vote
1 answer

ruby on rails - Omnicontacts return empty array with @friends

I have some problem with Omnicontacts gem in RoR. It always return empty array when I import friends from Gmail. My config/omnicontacts.rb: require 'omnicontacts' Rails.application.middleware.use OmniContacts::Builder do importer :gmail,…
dshevc93
  • 141
  • 1
  • 1
  • 11
0
votes
0 answers

Why does Hotmail oauth2 keep failing with "unauthorized" instead of letting me sign-in and grant permission to read contacts?

I'm using ruby version 2.2.10p489 and Rails version 5.1.6. I am attempting to use the omnicontacts gem to import Hotmail contacts into my application using the oauth2 flow. I was following the instructions listed at…
0
votes
0 answers

import contacts from multiple accounts in gmail

I have a rails application and i am using omnicontacts gem to import contacts from yahoo, gmail, and outlook.Its working fine.But once i import contacts from any account say of gmail, and tries to import contacts from another account it does not ask…
0
votes
0 answers

Fetch Gmail, Yahoo, Hotmail contacts with pagination using OmniContacts

I'm using OmniContacts to integrate with Gmail, Yahoo, Hotmail APIs. But It's fetching all contacts of account. Some users have more than 1000 contacts. So, I need to add pagination to send request to the API. In Gmail the gem has limit as this…
0
votes
1 answer

Omnicontacts gem: Outlook invalid_request

Ruby gem works great for us for Gmail and Yahoo. When accessing via Outlook and their new API we are getting the error below. NOTE: This happens after we successfully receive the params[:code] and are trying to get the token. Any ideas? { …
0
votes
1 answer

Rendering Performance when populating Nested Form - Rails 4 - OmniContacts

In my app I am using the OmniContacts gem to allow users to import their contacts. This works. Getting the contacts for Gmail takes roughly 300-500ms. In order to allow the importing of the contacts I am putting them in a nested form. Now the…
0
votes
2 answers

Rails 4 Attempting to save Multiple Records to single Model

I am using the Omnicontacts Gem to pull a list of contacts. So far that works. I can get the contacts and use them to populate a form so I can pass them to my Contacts Controller to be saved in the Contact Model. I have looked at the Rails Cast #165…
0
votes
1 answer

Use Omnicontacts gem for getting yahoo contacts

I am using omnicontacts gem for retrieving mail contacts. I am able to use it for gmail but for yahoo I always get an error :- "Custom port is not allowed or the host is not registered with this consumer key". I am not specifying any custom port in…
Anirudh Rautela
  • 113
  • 1
  • 17
0
votes
1 answer

Omnicontact redirect_uri_mismatch with gmail account

I'm using Omnicontact gem but I have some problem making it works with gmail: I always get "redirect_uri_mismatch" error! Here's the code of 'config/inizializers/omnicontacts.rb' 3 require "omnicontacts" 4 5 Rails.application.middleware.use…
ste
  • 3,087
  • 5
  • 38
  • 73
0
votes
1 answer

in omnicontacts, request.env['omnicontacts.contacts'] is empty in my callback when inviting hotmail contacts

I have the gem working for gmail. I can see the list of contacts in @contacts = request.env['omnicontacts.contacts'] However, when importing via hotmail, the list is empty. I made sure that I do have hotmail contacts. I double checked every…
Benjamin Crouzier
  • 40,265
  • 44
  • 171
  • 236
-3
votes
1 answer

How to get facebook friends emails

I am working on ruby on rails application and here I need Facebook friends email ID's I need to send an invitation to all of my friends(Facebook friends) as join in to my application by email. So I need to get their email Id's. I have tried with…