I'm trying to use OAuth 2.0 to give my app access to users' private calendars. From what I can tell, when the user hits submit on the OAuth dialog, the page is redirected to the redirect URI. I've been looking all over, but I can't figure out what needs to go in the index of the redirect URI in order to go back and continue executing the app's code with authorization. I'm using PHP. Please ask questions if I'm being unclear. All help is appreciated!
--
You received this message because you are subscribed to the Google Groups "Google Calendar API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-calendar-api/-/dWqx__OnhV0J.
To post to this group, send email to google-ca...@googlegroups.com.
To unsubscribe from this group, send email to google-calendar...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-calendar-api?hl=en.
$events = $service->events->listEvents('primary');
Okay, so I made my redirect URI bring me to a file ("home.php") in my root directory. I'm trying to just get something to work, so I'm trying to make a script that will list all of the events in my calendar. I basically copied the code from the Developer's Guide ( http://code.google.com/apis/calendar/v3/using.html#calendars). I attached home.php. I'm totally new to Google API programming, and actually pretty new to PHP. I'm sorry for all the questions and confusion! With my current home.php, I get the following error: " Fatal error: Call to a member function listEvents() on a non-object in /home/a2056718/public_html/home.php on line 6" I saw something about using an HTTP GET request to a certain URL, but I wasn't sure exactly what to do. I tried using file_get_contents, but it didn't do anything. I'm sorry! Thanks for all the help.
--
You received this message because you are subscribed to the Google Groups "Google Calendar API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-calendar-api/-/DA4Uyuro3c8J.
To post to this group, send email to google-ca...@googlegroups.com.
To unsubscribe from this group, send email to google-calendar...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-calendar-api?hl=en.
--
You received this message because you are subscribed to the Google Groups "Google Calendar API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-calendar-api/-/3DxM5D7fXJsJ.
To post to this group, send email to google-ca...@googlegroups.com.
To unsubscribe from this group, send email to google-calendar...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-calendar-api?hl=en.
The server can not find the requested page:
perflance.com/demo/googlecalendarapi/google-api-php-client/calendar/calendar1.php?code=4/TLgYBfxDN-DuoG_wGgz-itZhLpTg.8nE4ESxEsd8SXE-sT2ZLcbSbHUzqdgI (port 443)
If you are the account owner, please submit ticket for further information.
Open Ticket "
--
You received this message because you are subscribed to the Google Groups "Google Calendar API" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-calendar-api/-/I-kh-UDRDWcJ.