No description or website provided.
Ruby
Pull request Compare This branch is 1 commit ahead of davidsun:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
.gitignore
Gemfile
Gemfile.lock
Guardfile
LICENSE
README.rdoc
VERSION
renren.gemspec
renren.yml.example

README.rdoc

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]