Author Topic: iCal  (Read 5835 times)

Offline powisquare

  • Full Member
  • ***
  • Posts: 146
  • Karma: +1/-0
Re: iCal
« Reply #30 on: December 29, 2016, 12:59:07 pm »
So the calendar has been up and running in gcal3 for a while now which is great. I have installed it on another box (same version 2.5)and am trying to access a similar calendar to the one that works. ie it comes from the same 3rd party source in the same format. Am getting a 404 credential error. I am using the same credential file as the calendar that works. Apologies for the cross posting but probably should have started here to begin with.


Offline Stuart

  • Moderator
  • Hero Member
  • *****
  • Posts: 728
  • Karma: +71/-2
Re: iCal
« Reply #31 on: December 29, 2016, 01:04:34 pm »
See my prior post in the main forum.   You are using a GOOGLE calendar ID therefore you need to apply the credentials to the google calendar.   The fact of the underlying calendar info comes from an  iCal is irrelevant in this situation.

Offline powisquare

  • Full Member
  • ***
  • Posts: 146
  • Karma: +1/-0
Re: iCal
« Reply #32 on: December 29, 2016, 02:23:13 pm »
Sorry .. totally confused. I do not know how to apply credentials to the google calendar. Don't see an option for it or for sharing - am I missing something?

These are the two calendar links. The top one works in both Vera boxes. The second gives me the 404 error.

<iframe src="https://calendar.google.com/calendar/embed?src=boliagvia0dbk3njt530ljvvjuu8270p%40import.calendar.google.com&ctz=Europe/London" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>

<iframe src="https://calendar.google.com/calendar/embed?src=jshm8k9j7u6pjqb3jho7vp6lg4fvhjvk%40import.calendar.google.com&ctz=Europe/London" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>

Offline Stuart

  • Moderator
  • Hero Member
  • *****
  • Posts: 728
  • Karma: +71/-2
Re: iCal
« Reply #33 on: December 29, 2016, 05:37:44 pm »
Open this document from the main post:
Google V3 API Service Account V3.pdf

For the calendar that does not work -- perform the steps from:
"BUT ? you also need to:"


Offline powisquare

  • Full Member
  • ***
  • Posts: 146
  • Karma: +1/-0
Re: iCal
« Reply #34 on: December 30, 2016, 05:27:32 am »
I don't believe I am able to do the following (there is no option to share) and have attached a screenshot of what I am seeing:-

Next click on Share this Calendar
On the section that says ?Share with specific people? Add the client-email from the
step above. Change the permission to ?Make Changes to Events?
Click on Add Person
You should now see the client_email listed like this

What puzzles me is that I was not able to complete this step for the calendar that is working either.

Offline Stuart

  • Moderator
  • Hero Member
  • *****
  • Posts: 728
  • Karma: +71/-2
Re: iCal
« Reply #35 on: January 03, 2017, 03:27:28 pm »
The problem is permissions - the bit that says:
Anyone can: See nothing
You can: See all event details.

This is because GCal is accessing the calendar programmatically and needs specific credentials (which it does not have).  It's trying to access the calendar as "Anyone" and it's working ...  you CAN "See nothing"  :D 

Try just putting in the source iCal url in as the Calendar id.  Your iCal is public so that ought to work.  i.e.

https://marshwoodmanor.checkfront.co.uk/view/bookings/ics/?id=<..snip..>&iid=7&m=24
« Last Edit: January 03, 2017, 03:30:44 pm by Stuart »

Offline powisquare

  • Full Member
  • ***
  • Posts: 146
  • Karma: +1/-0
Re: iCal
« Reply #36 on: January 09, 2017, 05:17:28 am »
You are quite right of course - the working calendar 'Anyone can See all events'.

I have spent a week trying to figure out how I managed to alter this sharing permission. I looked at https://calendar.google.com/calendar/syncselect and the working calendar was checked and the others not. I have since checked all remaining calendars but they still all read 'Anyone can see nothing'.

Sadly the source ical does not seem to work.

Offline Stuart

  • Moderator
  • Hero Member
  • *****
  • Posts: 728
  • Karma: +71/-2
Re: iCal
« Reply #37 on: January 09, 2017, 12:21:52 pm »
You are quite right of course - the working calendar 'Anyone can See all events'.

I have spent a week trying to figure out how I managed to alter this sharing permission. I looked at https://calendar.google.com/calendar/syncselect and the working calendar was checked and the others not. I have since checked all remaining calendars but they still all read 'Anyone can see nothing'.

Sadly the source ical does not seem to work.

I'm surprised since your source iCal url works fine in my plugin.  Your calendar is publicly available .......

I will PM you your url so that there is no confusion.

Offline powisquare

  • Full Member
  • ***
  • Posts: 146
  • Karma: +1/-0
Re: iCal
« Reply #38 on: January 14, 2017, 04:52:50 pm »
Thanks Stuart - PM received. I replaced the working calendar ID with the source url provided and get "No iCal events found today". Put the iframe one back in and it's working.

Offline powisquare

  • Full Member
  • ***
  • Posts: 146
  • Karma: +1/-0
Re: iCal
« Reply #39 on: January 26, 2017, 05:57:40 am »
Got there in the end. To share a third party  ical with google and when using "add by url" remember to check the "Make the calendar publicly accessible?" box so that "Anyone can: See all event details".