哪些Ruby宝石支持Facebook API? [英] Which Ruby gems support the Facebook API?

查看:119
本文介绍了哪些Ruby宝石支持Facebook API?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个使用Facebook API的rails应用程序。我已经看到几个不同的Ruby宝石与Facebook集成,但他们看起来很年轻。



最好自己写低级别的电话吗?有没有一个体面和现在的宝石可用?



最近有没有更改这些宝石?






我开始了一个新项目 - 2012年9月份应该使用哪个宝石?

解决方案

考拉宝石是可以走的路。



这些来自七月的铁路司机会告诉你所有你需要知道的与Ruby和Rails中的社交图表交互(都是付费剧集):



#361:Facebook Graph API 学习如何使用Facebook Graph API与Koala gem从Facebook获取数据并通过用户发布内容。这里我深入了解权限,错误处理等。



#363:Facebook Open Graph 这一集基于上周的剧集,并展示了如何通过Open Graph协议进一步整合Facebook。您还将学习如何隧道您的本地服务器并将Facebook通信移至后台进程。


I have a rails application using the Facebook API. I've seen several different Ruby gems for integrating with Facebook, but they look dated.

Is it best to write low-level calls myself? Is there a decent and current gem available?

Have any of these gems changed recently?


I'm beginning a new project -- which gem should I use as of September, 2012?

解决方案

The Koala Gem is the way to go.

These Railscasts from July will tell you all you need to know about interacting with the Social Graph in Ruby and in Rails (both are paid episodes):

#361: Facebook Graph API: Learn how to use the Facebook Graph API with the Koala gem to fetch data from Facebook and post content through a user. Here I delve into permissions, error handling, and more.

#363: Facebook Open Graph: This episode builds on last week's episodes and shows how to integrate Facebook further through the Open Graph protocol. You will also learn how to tunnel your local server and move Facebook communication into a background process.

这篇关于哪些Ruby宝石支持Facebook API?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆