简体   繁体   English

用ruby开发Facebook应用程序:要使用哪些宝石?

[英]developing facebook applications with ruby: which gems to use?

i am currently planning a facebook application to be developed with ruby on rails. 我目前正在计划将使用Rails开发的Facebook应用程序。 i stumbled upon the facebooker gem, but there seem to be other gems around as well - actually there is also a facebooker2 gem. 我偶然发现了facebooker宝石,但周围似乎还有其他宝石-实际上也有facebooker2宝石。

what are the current options i have with ruby on rails and facebook development? 我在Rails和Facebook开发上使用ruby的当前选择是什么? which gems are recommendable? 哪些宝石值得推荐?

The Facebook developers site lists some options for Rails along with samples. Facebook开发人员网站列出了Rails的一些选项以及示例。 See http://wiki.developers.facebook.com/index.php/User:Using_Ruby_on_Rails_with_Facebook_Platform 参见http://wiki.developers.facebook.com/index.php/User:Using_Ruby_on_Rails_with_Facebook_Platform

I've been working with this over the past couple of days. 在过去的几天里,我一直在与这个工作。

The facebooker gem is written to use the old FB RESTful javascript API. facebooker gem被编写为使用旧的FB RESTful javascript API。

Facebooker2 is written to use the new javascript Open Graph API. Facebooker2编写为使用新的JavaScript Open Graph API。 Facebooker2 depends upon the mogli gem. Facebooker2取决于mogli gem。

I'm working with facebooker2 and hope to blog a tutorial once I've got it all worked out. 我正在与facebooker2一起工作,并希望在完成所有工作后将其写成博客。

Here's my "tutorial". 这是我的“教程”。 I hope this helps. 我希望这有帮助。 http://blog.jonathanrwallace.com/2010/06/accessing-facebook%E2%80%99s-open-graph-from-within-ruby-on-rails/ http://blog.jonathanrwallace.com/2010/06/accessing-facebook%E2%80%99s-open-graph-from-within-ruby-on-rails/

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM