Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Authentication for Google Calendar API
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  4 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Navid Rezaei  
View profile  
 More options Sep 14 2012, 10:45 pm
From: Navid Rezaei <navid.r...@gmail.com>
Date: Fri, 14 Sep 2012 19:45:16 -0700 (PDT)
Local: Fri, Sep 14 2012 10:45 pm
Subject: Authentication for Google Calendar API

I am developing an app for iPhone and it basically needs to connect to a
Google Calendar API and download some events in the Calendar.

All the authentication examples that I have seen from 'GTM OAuth 2' require
a window for the user to enter his/her user & pass to authenticate the
access to his/her Google Calendar. However, my target is a specific
Calendar, which I know its user name and password. I wonder if there is a
way to hardcode the user and pass in my Objective-C code?

I used to directly write the username and password using the previous GData
Calendar API, but it seems that it does not work anymore and I get error
403 for authentication.

I appreciate it if you let me know of your suggestions.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Rinku Yadav  
View profile  
 More options Sep 17 2012, 1:48 am
From: Rinku Yadav <ri...@handsintechnology.com>
Date: Mon, 17 Sep 2012 11:18:22 +0530
Local: Mon, Sep 17 2012 1:48 am
Subject: Re: Authentication for Google Calendar API

Hi,

  I have  the idea how to i sync the event into google calender, I have
done this with help EventKit framework and EventKitUi framework. You have
to just use the EKEventStore class and just select the calender type and
email address of gmail account no need of password.

Thanks.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Navid Rezaei  
View profile  
 More options Sep 17 2012, 11:44 am
From: Navid Rezaei <navid.r...@gmail.com>
Date: Mon, 17 Sep 2012 09:44:18 -0600
Local: Mon, Sep 17 2012 11:44 am
Subject: Re: Authentication for Google Calendar API

Hi Rinku,

Thank you for your answer. I wonder if this solution works only for syncing
the native iOS calendar app with the Google calendar or I may use the
fetched data in my custom built calendar as well?

Cheers,
Navid

On Sun, Sep 16, 2012 at 11:48 PM, Rinku Yadav
<ri...@handsintechnology.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Greg Robbins  
View profile  
 More options Sep 17 2012, 7:14 pm
From: Greg Robbins <grobb...@google.com>
Date: Mon, 17 Sep 2012 16:13:41 -0700
Local: Mon, Sep 17 2012 7:13 pm
Subject: Re: Authentication for Google Calendar API

You can save the OAuth 2 refresh token (or more simply the
GTMOAuth2Authorization object's persistenceResponseString which
encapsulates the refresh token) and use that in the client app to authorize
the requests.

Refresh tokens are valid until revoked, but you might also want a way to
provide an updated persistenceResponseString to the app, in case the
refresh token needs to be replaced.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions