README.markdown in omniauth_china-0.0.4 vs README.markdown in omniauth_china-0.0.5
- old
+ new
@@ -22,19 +22,20 @@
* T163 (credit: [he9qi](http://github.com/he9qi))
* Tsohu (credit: [he9qi](http://github.com/he9qi))
* Tqq (credit: [he9qi](http://github.com/he9qi))
* Renren (Renren Connect of renren.com) (credit: [taweili](http://github.com/taweili), [rainux](http://github.com/rainux))
-## 人人
+## 人人([taweili](http://github.com/taweili), [rainux](http://github.com/rainux))
Run the generator to generate `xd_receiver.html` and include helper into ApplicationHelper:
rails g omniauth_renren:install
-Place the Renren Connect button on any page by simply call `omniauth_renren_connect_button`:
+Place the Renren Connect button on any page by simply call `omniauth_renren_connect_button` and `omniauth_renren_javascript`:
<%= omniauth_renren_connect_button %>
+ <%= omniauth_renren_javascript %>
Route `/auth/renren` to the page that contain Renren Connect button:
match '/auth/renren' => 'users#show'
@@ -63,8 +64,12 @@
}
}
The `user_info` hash will automatically be populated with as much information about the user as OmniAuth was able to pull from the given API or authentication provider.
-## TOTO
+## Contributors (thanks!)
+ * [huacnlee](http://github.com/huacnlee)
+
+
+## TODO
Write better tests!!
\ No newline at end of file