Ruby on Rails with twitter APIs - ruby-on-rails

Is this possible in Ruby on Rails to update your blog posts on your twitter account using twitter APIs and omniauth. Please suggest me.
More: I have a blog, where i create a new post on blog, this update should go to my twitter account as well as I tweet , this tweet should be shown to my home of blog.
Please suggest me. how it is possible.
Regards,
Vieenay Siingh

When you post to this website, we are expecting you to have done a background search before.
Anyway, you should find what you need On the rubygems website

Related

Twitter Ruby API: How do I unfollow a person?

I wanted to know if there is any method known as Twitter::unfollow to unfollow a person using Twitter Ruby API.
I have read the documentation provided on Github but it doesn't seem to help me with this issue.
Although it's not in the documentation, an examination of the source shows that you can do
#client.unfollow('stephenfry')

Github Authentication API in Rails

I've been frustrated in my efforts to find information about this because a lot of the links posted on StackOverflow and elsewhere to related topics are 404'd. The Github API only says how to do things from the command line, and none of the gems I've found have given this kind of support. I know, however, that it is possible, because I've seen it done before.
How would I go about getting a user's current Github login information? That is, if a user is logged into Github, I want to find that out and use some of their user information in my website. If they are not logged in, I want to connect to Github to log them in.
Is there a gem for this, and if so, what is it and how does it work (if there isn't sufficient documentation)? If there isn't, then how do I go about using the Github API to do this in Ruby?
For authenticating with github, use the excellent omniauth gem with the (offcial) omniauth-github strategy.
You can see what basic information about the user you will get when the user authenticates with github here.
And here is a list of omniauth strategies that people have posted. For a good getting-started example, see the facebook strategy.
I found this blog post on using the Omniauth-Github gem. Provides a great tutorial top to bottom.
I used it today with no issues. Blog Post: Omniauth-Github Tutorial

(Rails) Is there a Koala equivalent for Twitter?

Koala provides a very easy way to post a status update on a user's wall for Facebook. I was wondering if a gem existed to do similar things with Twitter: in other words, I'm looking for a gem that makes it easy to allow your application to tweet something for a user.
Any suggestions much appreciated.
This is well documented and maintained:
https://github.com/jnunemaker/twitter

rails Gem's the Access the GMAIL, Y! Contact Lists via an API

Anyone know of any solid GEMs that integrate with the GMAIl and Y! Mail APIs to download a user's contacts (emails)?
thanks
You login to gmail using AuthSub mechanism. https://github.com/stuart/google-authsub
Try google contacts using some method as :
http://blog.adsdevshop.com/2008/04/18/import-gmail-contacts-using-ruby-on-rails/
For gmail it's easy: https://rubygems.org/gems/gmail or maybe better for your purpose: https://rubygems.org/gems/gmail_contacts
I'm gonna have another look for yahoo...
EDIT 1:
yahoo is supposed to be part of https://github.com/mislav/contacts but no example given
EDIT 2:
Another way to see the question is to use the opensocial API as mentionned here. It could be a worthy generic solution even if resources are a bit scattered.
Maybe contacts gem: https://github.com/cardmagic/contacts

How do I get my Twitter feed to integrate with a blog (with individual comment threads)?

I would like to create a blog where my Twitter updates essentially create blog posts, with a comment thread. If there isn't blog software that does this right now (I did some searching but couldn't find the commenting aspect) what would be the simplest approach and starting blog software to do this?
Potentially an alternate approach to this would be a blog interface that could auto-update my Twitter feed with the title text.
Whatever the solution, I'd like it to be fully automated so that it is roughly no more work than currently updating my Twitter feed using the Twitter web interface. Note: I'm also interested in 'normal' blog posting via the default blog web admin interface.
If you would like to use Wordpress, you can use the Twitter Tools plugin.
"Pull your tweets into your blog and create new tweets on blog posts and from within WordPress."
Each tweet/blog post would automatically have comments enabled.
Good luck man,
Brian Gianforcaro
You could use something like Tumblr or Sweetcron with Disqus comments. You can auto-import your Twitter/Flickr/any RSS feed. You can also post text/audio/video from the site admin. You'll have to manually add Disqus comments, but then each post or Twitter message will have its own threaded comments.

Resources