开发者

Sending a tweet using Authlogic-OAuth

开发者 https://www.devze.com 2023-01-21 13:32 出处:网络
I\'m building a Rails application which uses Authlogic for authentication, which I\'ve now set-up to run using the OAuth extension, meaning a user can be created by signing in from Twitter.

I'm building a Rails application which uses Authlogic for authentication, which I've now set-up to run using the OAuth extension, meaning a user can be created by signing in from Twitter.

This st开发者_JS百科ores their OAuth token and OAuth secret, meaning they're accessible, but I was wondering how I would actually go about sending a tweet using these?

So, with the users credentials, how do I format the POST request, and how do I do this in the controller.

Thanks.


Your best bet would be to use a gem like such: http://twitter.rubyforge.org/

0

精彩评论

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