FAQ Database Discussion Community


Can I move a Google API implementation to a web-service?

c#,asp.net,google-api,google-analytics-api,google-api-dotnet-client
I have an in-house CMS system written in ASP.NET C#, and I need to implement a few pages that can allow the user to access and alter their Google Analytics management settings using the Google Analytics management API. I have added the Google.Apis.Analytics.v3 library from NuGet, and I managed to...

Fetching Data From Google Calendar API with C#

c#,google-api,google-calendar,google-api-dotnet-client
I would like to fetch data from Google Calendar using Google Calendar API from a C# application. I have my users' emails and password so I don't need OAuth or something and I'm following this guide. Here's a sample code: FeedQuery query = new FeedQuery(); Service service = new Service("cal","company-app-v1.0");...

Receiving Insufficient Permission error from DirectoryService

google-api-dotnet-client
I am trying to setup c# code to manage our Google domain. I am receiving this error whenever I call service.Users.List() or any other method from the DirectoryService api. Google.Apis.Requests.RequestError Insufficient Permission [403] Errors [ Message[Insufficient Permission] Location[ - ] Reason[insufficientPermissions] Domain[global] ] I followed all the instructions on the...

I want to upload video on youtube using client side login. without open web page permission

c#,.net,google-api,youtube-api,google-api-dotnet-client
When I upload video to YouTube using client side login. The first time redirect to UI for permissions. I want upload without redirect to web page. I need to execute this code on server. Here is my code. private async Task<string> Run(string title, string description, string filepath) { var videoID...

Google Drive Api for installed application c#

c#,google-api-dotnet-client
Can someone please show a working example code of how to use google drive api for installed application? ( access_type=offline) I found a few explanations, but can't get to a working flow. Thanks...

Google Directory API is not strong signed

google-api-dotnet-client,google-directory-api
BEFORE ANY OF YOU CLAIM THIS IS NOT WHERE THE API IS SUPPORTED PLEASE SEE THIS LINK: https://developers.google.com/admin-sdk/support Peleyal: This is probably not the best place to have your support site; all I get are people that down vote because this is "not the place to get support on an...

Google Calendar API v3 .NET authentication with Service Account or Web Application ID

asp.net,google-api,google-calendar,google-oauth,google-api-dotnet-client
I need to connect a Google Calendar on my .NET 4.5 application (VS 2013 project). I want to get all the information from the Calendar, such as: events, dates, notes, names, guests, etc... I used the Google Developer Console to create both a Web Application Client ID and a Service...

I am trying to use GoogleAPI YouTube to get details about YouTube Videos

youtube-api,youtube-data-api,google-api-dotnet-client
Using GoogleAPI v3 url using this url: https://www.googleapis.com/youtube/v3/videos?part=snippet&id=D-wxnID2q4A&key={MyKey} I get this json: { "kind": "youtube#videoListResponse", "etag": "\"dhbhlDw5j8dK10GxeV_UG6RSReM/uzqDS1yLcX0DglL60bHeS56kZ7c\"", "pageInfo": { "totalResults": 1, "resultsPerPage": 1 }, "items": [ { "kind": "youtube#video", "etag": "\"dhbhlDw5j8dK10GxeV_UG6RSReM/l7OMkGqgmC10NvbO5PzI_nonZzA\"", "id": "D-wxnID2q4A", "snippet": { "publishedAt": "2014-01-08T05:34:04.000Z", "channelId":...

Get Google token through .NET Web API, error redirect_uri_mismatch

c#,asp.net,.net,google-plus,google-api-dotnet-client
I want to authenticate user with Google login, I am getting the authorization code from frontend, and I want to trade it for access token with Google. This is my code: [Route("google")] public object Google(AuthModel model) { IAuthorizationCodeFlow flow = new GoogleAuthorizationCodeFlow(new GoogleAuthorizationCodeFlow.Initializer { ClientSecrets = new ClientSecrets { ClientId...

Value cannot be null. Parameter name: baseUri

c#,google-api,google-bigquery,google-api-dotnet-client,service-accounts
I am using Google BigQuery API with Service Account Authorization in C# console application. When i am trying to load CSV job, it throws "Value cannot be null. Parameter name: baseUri" Exception. It specific on only single table, when i am changing the table name it all gets work. Here...

Google plus API returns error code 401 when publishing

c#,windows-phone-8.1,google-plus,google-api-dotnet-client
I am using Google Plus API for .Net for implementing sharing on google plus using WebAuthenticationBroker. It returns a token after the user gets logged in but when I send a moments post request it returns error 401. My code on clicking on image is String GoogleURL = "https://accounts.google.com/o/oauth2/auth?client_id=xxxxxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com&redirect_uri=http://www.google.com&response_type=code&scope=" +...

Is it possible to use AuthorizationCodeMvcApp for authorization in google contacts API access?

oauth-2.0,google-calendar,google-oauth,google-contacts,google-api-dotnet-client
I am currently working on a web app where I sync the user's google contact list. Currently I am able to sync the calendar just fine. Unfortunately the same approach doesn't seem feasible in the case of contacts. Below was my approach for Calendars v3. public async Task<ActionResult> Index(CancellationToken cancellationToken)...

Google Developer API V3 for video upload in YouTube C#.net

c#,youtube,google-api,youtube-api,google-api-dotnet-client
I have been using google's reputed API V2 for uploading the videos on YouTube from my web application as there has been up gradation in API to V3 , I am unable to upload the same through the same code. I have tried with the new application for uploading the...

Using Google API to Query Date in Spreadsheet

c#,google-api,google-api-dotnet-client
I have a google sheet that looks something like: date title quantity 01/01/2015 t1 1 02/01/2015 t2 5 I am trying to write a query to return a row using a ListQuery. It works for strings or integers e.g. listQuery.SpreadsheetQuery = "title=\"t1\""; listQuery.SpreadsheetQuery = "quantity=5"; However, when I try to...