A third party, non-official renren API gem created by huangxiangdan. Inspired by ballantyne’s weibo API gem.
To install the gem simply enter:
gem install renren
This is a minimalistic API implementation, where all function calls goes through a single method. For example to publish a feed item one might do the following:
param = {:method, "feed.publishFeed", :name, "foo", :description, "bar", :url, "http://jihua.fm"} renren = Renren::Base.new(token) renren.call_method(param)
You can use Omniauth-renren to get the token.Also you can visit github.com/huangxiangdan/renren-example to see the example.
This gem was made in the process of creating 计划FM [jihua.fm], please take a moment and go and check out that project for example usage.
Sites using the renren gem¶ ↑
计划FM [http://jihua.fm]