Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Bobby Sharma
Ranch Hand
Posts: 598
3
Google App Engine jQuery Windows
  • Mark post as helpful
  • send pies
  • 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.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • 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
Google App Engine jQuery Windows
  • Mark post as helpful
  • send pies
  • 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: 42970
73
  • Mark post as helpful
  • send pies
  • 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
Google App Engine jQuery Windows
  • Mark post as helpful
  • send pies
  • 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 ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!