Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
Pull request Compare This branch is 5 commits behind huangxiangdan:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
Gemfile
Gemfile.lock
Guardfile
LICENSE
README.rdoc
VERSION
renren-0.0.12.gem
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]
You can’t perform that action at this time.