Find file
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 567 Bytes

OmniAuth Weibo2

Note: This gem is designed to work with weibo.com, include double strategies weibo and weibo2, weibo is based-on omniauth-oauth, and weibo2 is based-on omniauth-oauth2

Getting Started

This is an example that you might put into a Rails initializer at config/initializers/omniauth.rb:

Rails.application.config.middleware.use OmniAuth::Builder do
  provider :weibo, "APP_KEY", "APP_SECRET"
  provider :weibo2, "APP_KEY", "APP_SECRET"
end

Resources

The Weibo Wiki