0

私はgmailで動作する宝石を持っています。で連絡先のリストを見ることができます

@contacts = request.env['omnicontacts.contacts']

ただし、hotmail 経由でインポートする場合、リストは空です。ホットメールの連絡先があることを確認しました。アプリケーションのすべての設定live(秘密鍵、ドメインなど)を再確認しました。

誰かが同様の問題を抱えていますか? さらに何を診断できますか?

私のコールバックコントローラー:

class Oauth::HotmailController < ApplicationController

  def callback_token
    #this is called.

    #This is empty. When using gmail, contacts are retrieved. But not with hotmail
    @contacts = request.env['omnicontacts.contacts']
  end

end
4

1 に答える 1

0

hotmail からの返信では、メールがエンコードされています。例えば:"email_hashes":["243c01e30cfdbc8c46b8dddb68a685bb8f86016096fd3398919ed6845fde6b7b"]

このパッチが役立ちます: https://gist.github.com/clouw/5871254

于 2013-07-19T13:05:50.080 に答える