You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
This webpage was generated by the domain owner using Sedo Domain Parking. Disclaimer: Sedo maintains no relationship with third party advertisers. Reference to any specific service or trade mark is not controlled by Sedo nor does it constitute or imply its association, endorsement or recommendation.
TwitterのOAuth認証を使うようなアプリってド定番なのに、時間が空くと、ワリと忘れちゃって時間をロスするので手順化しておこうと思う。 なお、usersとauthenticationsにユーザ情報を分けてるのは、Facebook認証とか追加するとき用、usersがauthenticationsが1対nになる。 [環境] Mac OSX 10.6.8 ruby 1.8.7 rails 3.0.6 [参考] http://blog.twiwt.org/e/14b25f http://taksatou.blogspot.com/2011/03/twitterfacebookrails.html http://taksatou.blogspot.com/2011/03/twitterfacebookoauthrailsomniauth.html ・Gemfileに追加 gem 'devise
ruby on rails では簡単にtwitterやfacebookと認証ができるライブラリがあります。 それがomniauthです。 Twitterdeveloperに登録する Twitter Developer 上記から入って登録していきます。 今回必要なのは赤枠でくくっている。 ・Consumer key ・Consumer secret ・Callback URL※戻り先のURL Facebookdeveloperに登録する Facebook Developer 上記から入って登録していきます。 ここで必要なのは赤枠の部分です。 ・App ID ・App Secret Gemのインストール gemでomniauthをインストールします。 gem 'omniauth' 後は、ライブラリをインストールします。 bundle install nokogiriのinstallエラー li
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く