开发者

Has anyone tried the new opengraph beta api with rails? [closed]

开发者_开发技巧 It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

I'm wondering if anyone's given the new api introduced with rails yet? I began a mock app through facebook and heroku and it actually generates the beginnings of a sinatra based project. Has anyone crossed over to rails by chance?


I'm actually working on an app using the new OpenGraph & Rails. With the koala gem, it's pretty easy for example to post an action on the timeline of an user, you just need to do a

res = api.put_connections(current_user.fbid, "namespace:verb", myobject: "link_to_my_object" )

And you will get the action's id in response if all it's fine.


I did the mock app too, and it works fine for the app (stuffed cookies). I need to understand the javascript a bit more to move it over.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜