I am using devise to login with omniauth, authid. When the user is logged in I get
user_info:
name: Riccardo Tacconi
last_name: Tacconi
email: email@gmail.com
first_name: Riccardo
uid: https://www.google.com/accounts/o8/id?id=xxxxxxxxx
provider: google_apps
I have found a plug-in: http://stakeventures.com/articles/2009/10/06/portable-contacts-in-ruby to get the Google Contacts. I only need to use this method:
@client = PortableContacts::Client.new "http://www-opensocial.googleusercontent.com/api/people", @access_token
but I need a token. I only have the uid. Do you have an idea how to get the access token? There is not any doc about accessing google.