{"type":"rich","blog_url":"https://bokukoko.hatenablog.com/","author_name":"cevid_cpp","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbokukoko.hatenablog.com%2Fentry%2F20120408%2F1333863637\" title=\"Rails3 OmniAuth \u3067\u57fa\u672c\u30c7\u30fc\u30bf\u4ee5\u5916\u306e\u60c5\u5831\u53d6\u5f97 - \u30dc\u30af\u30b3\u30b3\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","url":"https://bokukoko.hatenablog.com/entry/20120408/1333863637","version":"1.0","published":"2012-04-08 14:40:37","width":"100%","author_url":"https://blog.hatena.ne.jp/cevid_cpp/","blog_title":"\u30dc\u30af\u30b3\u30b3","provider_url":"https://hatena.blog","image_url":null,"description":"Omniauth\u306e\u57fa\u672c\u8a2d\u5b9a\u3067\u306f\u3001\u8a95\u751f\u65e5\u3084\u53cb\u9054\u306e\u60c5\u5831\u306a\u3069\u306f\u53d6\u3063\u3066\u3053\u308c\u306a\u3044\u3002\u3044\u3063\u307a\u3093\u306b\u307e\u3068\u3081\u3066DB\u306b\u7a81\u3063\u8fbc\u307f\u305f\u3044\u30b1\u30fc\u30b9\u304c\u51fa\u3066\u8abf\u3079\u305f\u306e\u3067\u30e1\u30e2\u3002Omniauth\u306e\u8a2d\u5b9a\u306e\u6240\u3067 :scope \u3092\u6307\u5b9a\u3059\u308b\u3068\u3044\u3051\u305f\u3002 34 Rails.application.config.middleware.use OmniAuth::Builder do 35 provider :facebook, 'APP_ID', 'APP_SECRET', {:scope => \"user_birthday\"} 36 end\u3069\u3093\u306a\u30d1\u30fc\u30df\u30c3\u30b7\u30e7\u30f3\u304c\u3042\u308b\u304b\u306f\u3001https://developers.facebook.com/docs/a\u2026","title":"Rails3 OmniAuth \u3067\u57fa\u672c\u30c7\u30fc\u30bf\u4ee5\u5916\u306e\u60c5\u5831\u53d6\u5f97","height":"190","categories":[]}