goodthing007
goodthing007

Reputation: 23

Embedded Google calendar not displaying unless logged into Google account

I'm trying to embed my Google calendar using an iframe in a small website that I am making, but it seems I can only see the calendar when I am logged into a Google account. If I log out of my Google profiles and then open the page, I just get an empty iframe.

I know it's possible because I've seen other websites display calendars when I'm not logged onto Google, but looking at their code I can't see any difference to what I've got.

I'm getting the error:

Refused to display 'googleCalendarLinkHere' in a frame because it set 'X-Frame-Options' to 'DENY'.

Upvotes: 2

Views: 6212

Answers (1)

Christopher Bottoms
Christopher Bottoms

Reputation: 11193

Set your calendar to be publicly viewable.

Upvotes: 8

Related Questions