• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
Bartenders:
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

C#: problem using authentication with Google's Calendar API

 
Ranch Hand
Posts: 598
3
jQuery Google App Engine Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Correct me if I am wrong regarding the steps,
1. Create a Google Console account.
2. Activate the api you want to use in your application
3. Generate Outh 2. version client ID and secret key , (in my case, I want that for installed application)
4. Installed all required Apis in your IDE

In my project under google console application, I have only one application registered. That's all.

I followed all the following steps provided by Google but getting nulls in my application. I need help from you experts and experienced people. Please tell me the requirements for using and extracting data with the help of google Api.. such as Google Calendar Api version 3. Something tells me many of you have already created one or more application using google Api.
 
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to TellTheDetails: What kind of application is this? What, specifically, is null? Sounds like a NullPointerException where you need to debug the code in order to determine which object is null. Why do you suspect there is a relationship to any Google APIs?
 
Bobby Sharma
Ranch Hand
Posts: 598
3
jQuery Google App Engine Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry Ulf, Call me crazy if you please ..The reason my question looks incomplete is that I am not doing this in Java .. I am doing this in C#. I spent hours after hours to fix this but did not get help from any other forums so at last , I came here or help. I would have posted the same question in "other/languages" section but I suspect it wouldn't be helpful because the respective forum is not active.
 
Ulf Dittmer
Rancher
Posts: 43027
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's not crazy to use C#, but neither does it answer any of the questions I asked :-)
 
Bobby Sharma
Ranch Hand
Posts: 598
3
jQuery Google App Engine Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am trying to access the Google Calendar ApI V3. in my application.



the above code is a c# code.. This program breaks and jumps to this piece of code. This throws an exception System.AgrregateException: System.IO.FileNotFoundException
and "credential" is getting null. and somehow I am not able to access the Google console account, even if I have used the correct ClientID and Secret? If you want to do the same thing in Java what steps you would have followed before writing the code ?
 
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
    Bookmark Topic Watch Topic
  • New Topic