Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Dan D

    (@duplaja)

    @davidj1

    My apologies in taking so long to get back to you.

    It looks like you’ve removed the plugin to just use the embedded iframe.

    If you do want to try again with this plugin, let me know, and set up a test page with it on for me to take a look at.

    Thank you,
    Dan

    Thread Starter davidj1

    (@davidj1)

    Hi Dan,

    Many thanks for getting back to me. Much appreciated. I’ve reinstalled the plugin and set it up using our Google Key and link to the working Calendar. I’ve (at this stage) just set it up within our left page footer on each page as a What’s on to display a list from the calendar. https://www.tecomauc.org.au/

    Hopefully this is sufficient, at this stage, to help you debug the problem, that is connecting with our Google calendar, either in list or full calendar modes.

    thanks again
    David…

    To get this working try these 4 things

    1. Go to the Google Calendar API page (https://console.developers.google.com/apis/library/calendar-json.googleapis.com) and enable the specific Google Calendar API. Don’t assume you’ve already done this. Double-check it using that link.
    2. Within the actual settings of your API, ensure that “Application restrictions” are set to “None”.
    3. Ensure that “API restrictions” are set to “Don’t restrict key”.
    4. And then, within Google Calendar for the calendar you want displayed on your site, ensure it has its “Access permissions” set to “Make available to public” (in other words, ticked).

    I hope this proves helpful.

    Thread Starter davidj1

    (@davidj1)

    Hi @meau
    Thanks for the advice. I did discover that the Google Calendar API is enabled but the Google CalDAV API was not. I’ve enable the CalDAV API and also notice that there is currently no API key under the credentials. So which API does Dan’s Embedder use? The Google Calendar API or the Google CalDAV API? Do I need to set up a key for the CalDAV API or does Google use a key that already exists for the Calendar API?

    If the Google Calendar API is used then I am still at a loss as to why the Embedder does not work. Restrictions are as you suggest as are the Access permissions.

    thanks
    David…

    I can’t answer for the developer, but only share what I have done.

    It seems that the only API the Embedder needs to use is the Google Calendar API. I have not activated the CalDAV API and my calendar is working fine.

    Perhaps start again with your API. Go to the calendar API page (the link in my previous comment) and click the “Manage” button. After checking that you’re on the correct project, click the “Credentials” link in the sidebar and then, either check the API is set up correctly or just create a new one and try the Embedder set up again. It might be possible that the details you have in your Dan’s Embedder set up aren’t completely correct.

    I’d be happy to look over your set up if you need. I, too, am in Australia, you can find my number here.

    Thread Starter davidj1

    (@davidj1)

    Thank again @meau for sharing your knowledge.
    I’ve followed things carefully again this time but still have one question before giving up totally.

    After creation of the Google API Key there appears the following text ..
    “Remember to configure the OAuth consent screen with information about your application.
    CONFIGURE CONSENT SCREEN” – This link takes you to the OAuth Consent screen asking about granting permission of the application to users. But as this application (Dan’s GCal) is not “my” application so I have done nothing with this screen.

    Under “Access Permissions” for the desired Google Calendar I have selected “Make available to public” and “See all events”. Next to this item is a button labeled “Get sharable link” that gives me … https://calendar.google.com/calendar?cid=dGVjb21hdW5pdGluZ0BnbWFpbC5jb20

    Further down in these settings is an area called “Integrate Calendar” which gives me a different link … https://calendar.google.com/calendar/embed?src=tecomauniting%40gmail.com&ctz=Australia%2FMelbourne
    If you place this into a browser you will get our calendar and this was the link I was using with Dan’s Calendar feature.

    Unfortunately neither seems to work. Currently using the https://calendar.google.com/calendar?cid=dGVjb21hdW5pdGluZ0BnbWFpbC5jb20 link in Dan’s GCal Google Calendar ID

    I’ve added Dan’s calendar to https://www.tecomauc.org.au/?page_id=150 where both an iFrame and Dan’s cal exit.

    Just about to give up on this plugin all together @duplaja.

    thanks
    David…

    Hi @davidj1. I too noticed the OAuth Consent but did nothing with it, as I was keen to follow Dan’s instructions, and this wasn’t included.

    Hopefully, the fix lies in the calendar ID you’re using. On the “Dan’s Google Calendar Settings” page, use the Google Calendar ID that looks something like this: [email protected]

    This has solved the problem for others, so I’m hoping it’s your missing link.

    Thread Starter davidj1

    (@davidj1)

    Thanks agin @meau Getting closer… ??

    I did not see any link in the format of [email protected], only as explained in my previous post.

    Under “Access Permissions” for the desired Google Calendar I have selected “Make available to public” and “See all events”. Next to this item is a button labeled “Get sharable link” that gives me … https://calendar.google.com/calendar?cid=dGVjb21hdW5pdGluZ0BnbWFpbC5jb20

    Further down in these settings is an area called “Integrate Calendar” which gives me a different link … https://calendar.google.com/calendar/embed?src=tecomauniting%40gmail.com&ctz=Australia%2FMelbourne
    If you place this into a browser you will get our calendar and this was the link I was using with Dan’s Calendar feature.

    Where did you get the link in the format of [email protected] ???

    cheers
    David…

    Take a look at this screenshot. The address for the calendar is under the “Integrate calendar” area.

    https://drive.google.com/file/d/1cG9j4HnIQJ2JpuY3-rZfzBu3KYInonbO/view?usp=sharing

    Thread Starter davidj1

    (@davidj1)

    YAH!!!
    Many thanks once again @meau We now have a working calendar and timeline.
    Pity that Google give so many options and it was the simplest option that turned out to be the correct one. The Google ID for our calendar is our Google email address. So simple and that is why I missed it.

    All the best to you.

    cheers
    David…

    Wonderful, wonderful news!! You must feel like I did when I got it working.

    I’m so happy for you. Congratulations!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Can’t access Google Calendar’ is closed to new replies.