开发者

What's the easiest way, to post on my Facebook Wall through my Ruby on Rails App?

开发者 https://www.devze.com 2023-01-23 12:24 出处:网络
last week, I integrated successfully twitter with开发者_如何学JAVA my \"small\" rails app. If I create a new record in my rails app it will be posted on twitter.

last week, I integrated successfully twitter with开发者_如何学JAVA my "small" rails app. If I create a new record in my rails app it will be posted on twitter.

But how Do I do this with facebook? Twitter was really easy (thanks to the Twitter gem) Can you recommend a gem? A link to an example app would also be nice.

Thanks in advance cheers tabaluga

p.s. Oh, I forgot to mention, I do not have a personal facebook account. The Facebook Wall is a Company site.


I am using fb_graph and I really like it, very easy to use. To post to a Wall you simply do:

 me = FbGraph::User.me(access_token)
 me.feed!(
    :message => '',
    :link => '',
    :name => '',
    :description => ''
  )
0

精彩评论

暂无评论...
验证码 换一张
取 消