403 Error – Thats an error. Error: disallowed_useragent

In my case I was using native web view to login with Google, I find out the way that you should provide user agent to webview it was worked for me. Try below code I am sure it will worked. Add the code in application didFinishLaunchingWithOptions Objective C NSDictionary *dictionary = [NSDictionary dictionaryWithObjectsAndKeys:@”Mozilla/5.0 (Windows NT … Read more

“ImportError: file_cache is unavailable” when using Python client for Google service account file_cache

I am a bit late to the party here but I had a similar problem today and found the answer here Solution to only the error : file_cache is unavailable when using oauth2client >= 4.0.0 Solution: change your discovery.build() to have the field cache_discovery=False i.e discovery.build(api, version, http=http, cache_discovery=False)

What parameters are required to create an “Add to Google Calendar” link?

Explanation about the available parameters: anchor address: http://www.google.com/calendar/event? This is the base of the address before the parameters below. action: action=TEMPLATE A default required parameter. src: Example: src=default%40gmail.com Format: src=text This is not covered by Google help but is an optional parameter in order to add an event to a shared calendar rather than a … Read more

Google Calendar Push Notifications SetUp

Create a notification channel for every individual resource, then any modification to that resource you will be then notified. Information below is directly from Google (Creating notification channels). Making watch requests: Each watchable Google Calendar API resource has an associated watch method at a URI of the following form: https://www.googleapis.com/**apiName**/**apiVersion**/**resourcePath**/watch To set up a notification … Read more

How do I create a link to add an entry to a calendar?

The links in Dave’s post are great. Just to put a few technical details about the google links into an answer here on SO: Google Calendar Link <a href=”http://www.google.com/calendar/event?action=TEMPLATE&text=Example%20Event&dates=20131124T010000Z/20131124T020000Z&details=Event%20Details%20Here&location=123%20Main%20St%2C%20Example%2C%20NY”>Add to gCal</a> the parameters being: action=TEMPLATE (required) text (url encoded name of the event) dates (ISO date format, startdate/enddate – must have both start and end … Read more

Link to add to Google calendar

Here’s an example link you can use to see the format: https://www.google.com/calendar/render?action=TEMPLATE&text=Your+Event+Name&dates=20140127T224000Z/20140320T221500Z&details=For+details,+link+here:+http://www.example.com&location=Waldorf+Astoria,+301+Park+Ave+,+New+York,+NY+10022&sf=true&output=xml Note the key query parameters: text dates details location Here’s another example (taken from http://wordpress.org/support/topic/direct-link-to-add-specific-google-calendar-event): <a href=”http://www.google.com/calendar/render? action=TEMPLATE &text=[event-title] &dates=[start-custom format=”Ymd\\THi00\\Z”]/[end-custom format=”Ymd\\THi00\\Z”] &details=Link to add to Google calendar &location=[location] &trp=false &sprop= &sprop=name:” target=”_blank” rel=”nofollow”>Add to my calendar</a> Here’s a form which will help … Read more