ããã«ã¡ã¯ããããã¡ããã§ããRuby on RailsãSinatraã§ä½ãWebã¢ããªã±ã¼ã·ã§ã³ã«å種èªè¨¼æ©è½ãæ軽ã«è¿½å ã§ããæ©æ§ã¨ãã¦ããOmniAuthã·ãªã¼ãºããããã¾ããããã®mixiçãä½ã£ã¦ã¿ã¾ããã OmniAuth-mixi - Github OmniAuthã¯ãStrategyã¨ããå½¢å¼ã§ä»»æã®èªè¨¼ãããã¤ãã®å®è£ ã追å ã§ããããã«ãªã£ã¦ãã¾ããOmniAuth-mixiã使ããã¨ã§ãOAuth2ã«ã¦mixi Graph APIã®èªè¨¼èªå¯ãè¡ããPeople APIã§èªå¯ã¦ã¼ã¶ã®ãããã£ã¼ã«æ å ±ãåå¾ãããã¨ããå¦çãè¡ã£ã¦ããã¾ãã 使ãæ¹ã¯ç°¡åã§ããRuby on Railsã®å ´åãã¾ãGemfileã«ä»¥ä¸ã追è¨ãã¾ãã gem 'omniauth-mixi' 次ã«ãconfig/initializers/omniauth.rbãã¡ã¤ã«ã以ä¸ã®å 容ã§ä½æãã¾ãã
{{#tags}}- {{label}}
{{/tags}}