top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How to Intergrate Google API's in a Rails app?

+1 vote
492 views

I want to create 3 rails apps in which every app has a Google API.
1) Gmail API
2) Google+ API 3
3) Google calendar API

Please suggest how to begin with...

posted Sep 1, 2014 by Navneet

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button
That depends entirely on where your are starting from.
The place to start with Google APIs is with their documentation.

Similar Questions
+1 vote

I am using omni-auth for the user authentication and logged in the user via access token.

But like facebook i want to fetch the user profile information and all the albums he/she uploaded and images belongs to that albums, than save the public url to my own database.

I found fb_graph a very good gem to use FB Graph search but i could not find any Gem that helps me to extract images,albums from Google+. Any suggestions and gem that can solve this problem are welcome.

+7 votes

I am trying to get google-geo to work, but I am seeing errors.

#!/usr/bin/ruby

require 'Google-geo'

mykey = 'blahblahblah'
addy1 = 'xxxxxxxxxxxxx' # xx, yy

geo = Google::Geo.new mykey
res = geo.locate addy1
puts res.coordinates

...and the error:

/Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:in require': cannot load such file -- Google-geo (LoadError) from /Library/Ruby/Site/2.0.0/rubygems/core_ext/kernel_require.rb:55:inrequire'
from pdev.rb:6:in `'

Not sure why it can't load it as it's just installed. I can't get anything to work in irb either.

+1 vote

How to work my application events to store in google calendar. Is this possible. any good links are available to do this.

0 votes

I want to retrieve the user's location after user signs in my website. How can I do that?

At this moment here is the scope that i have: $client->setScopes('email');
I guess I have to change that.

And to retrieve data I have the following:
$client->verifyIdToken()->getAttributes();

Do I need another method than this?

+3 votes

How to provide a facebook icon on my website, which will link to my facebook page when someone clicks on it. same question for google+ profile.

...