I'd like to be able to have admin users sign up in our system and have their Google calendar events be readable by everyone on the site. I'd like the customers to be able to see free slots on their schedule. Is this possible and how would I implement this in a Rails app?
Any suggestions? (I've read the OAuth and Calendar APIs, just looking for how to start setting up my app).
Related
I have created a Google Site which links to various Google Classrooms. I would like to know who is using the site.
Is there a way of recording the Google ID in a Google Sheet, for when someone accesses the site?
Any help or even a point in the right direction would be great.
Thanks
Ok, since you are using Google Sites, you can create a user start page by following these steps, this page will ask the users to authenticate with their emails, and will allow only users from the organizational unit for which the site is allowed.
After that step, you can use Google Analytics with your Site to track the behavior of users in your Site.
I suggest starting with a quickstart of Google Analytics to get the hang of it.
And soon enough you will have it set up to suit your needs.
I am ultimately trying to allow a User to schedule an appointment inside of my Google Calendar from a Rails application I built. First, I will need to retrieve a list of already taken Google Calendar events. I only know how to allow the User to access their Google Calendar events through Oauth2.0, but is there a way to allow every user to have access to mine?
I am not asking for any code, as much as I am asking for direction and clarification regarding this issue, thank you.
My company is looking to have Google Now Bill Reminders from emails to our clients so they are reminded when to pay.
We aren't looking to integrate a separate app or anything, we just want it directly through Google Now/Gmail.
My question is, is there any definitive structure our emails need to be in, or any information we must include for the Google Now reminders to work? Or does the Now card need to be integrated completely in order to work?
Any links etc to documentation regarding the bill reminder feature so we can look into this? Or if it does need to be integrated, are there any links to API integration so we can forward this to a developer?
Thanks in advance
Based from this Google Now documentation:
Google Now brings users the right information at just the right time. For example, Google Now already provides updates to restaurant and hotel reservations or flight information received in Gmail. By marking up email notifications to your users, you can use Google Now to bring them similar updates about your services and products.
Be mindful that only some types are supported in Google Now. For example, use Event Reservation type to declare a reservation for one or more guests at an event.
For your case, you can check on this blog and this forum. Basically, Google Now is most useful for its ability to contextualize information from your Calendar and Gmail to send you alerts when you actually need them. Google Now introduced a new feature that makes it easier to keep track of which phone/Internet/education loan bills are actually due. Source.
I have recently implemented the Google Calendar API into my iOS project using the instructions from this: https://developers.google.com/google-apps/calendar/quickstart/ios#further_reading
After some testing I noticed that I have to sign in each time the user wants to update the calendars from Google, which is not what I want.
I looked around and saw something like GPPSignIn, however that is not incorporated into this specific library.
Does anyone know a way to implement SSO for the calendar specific API that google offers, or do I have to implement it another way using the Google Plus library somehow. Any advice would be appreciated.
I am thinking to embed google calendar in my website to achieve the following and was wondering if this is doable in google calendar. Otherwise I have to go find another solution.
I have groups of users with one super user, and rest are regular users as follows:
GroupA
Super User 1
Regular User 1
Regular user 2
etc
Group B
Super User 2
Regular User 3
Regular User 4
etc
Each group have their own calendar. Users in each group can not see the other group's calendar. Only able to see their own group's calendar.
Super users of each group have all access to the calendar (add, modify, delete) and have the ability to control how much access regular users have in their group. (read only? read/write etc)
All users are registered to my website, therefore I am thinking to use only one google calendar account (my own account) to create a calendar for each group. Which leads to a question of authenticating my website to google's API. I need the authentication process to be automatic, hidden away from the user and be done on the server side.
My site is built using PHP/Mysql
Q1:
I have tried the Javascript client library provided by google, however it require the user to type in username/password to log into google so that the authentication (OAuth2) process can work. As mentioned in previous paragraph, I only want the user's to log into my website, they do not need to login again into google account. This should be done on serverside.
I even went as far to create a login form with information prepopulated (hidden from the user, the username/password will be visible in "view page source") and send the request to https://accounts.google.com/ServiceLoginAuth, and make the form automatic submit once the user successfully login into my website. However this causes cross domain issues.
Q2:
I may potentially have 10's of thousands of groups registered on my website. each group may have couple hundred users. Can one single google account create that many calendars?
Q3:
Once the calendar is embedded into my website, it seems to be read-only. Is it possible to make it interactive so super users in each group can add/delete/modify events?
Any ideas/suggestions is much appreciated.
Thank you
No answers? It seems like your question is straightforward. If I understand correctly, you want to access calendars from several Google accounts/users. Each user needs to authorize this access, but they only need to do so once. You could generate these requests and send them out via email, for example. When the user grants permission, Google forwards a grant code to your specified callback_uri. The grant code is extremely volatile. It's used to request a token from Google that apparently lasts indefinitely. So there's no requirement that users continually log into Google.
In Google's calendar/simple.php example. The token is stored as a SESSION variable. Even though the token is persistent, the SESSION variable is not. Users have to grant authorization every time the SESSION variable expires. Storing persistent data in a volatile variable is absurd and probably gives the wrong impression about the OAuth2 token mechanism.
I spent a lot of time writing documentation that I couldn't find anywhere else. Please take a look if you think it might help: http://www.tqis.com/eloquency/googlecalendar.htm
What you're asking isn't possible in Google Calendar.
If you're looking to support thousands of groups and each group needs it's own calendar, then you're saying that you'd need thousands of calendars with access control and you'd need authentication to the calendar to be transparent.