google-api

Google Coordinate OAuth2 with Service Account

痞子三分冷 提交于 2020-01-20 08:41:27
问题 I have a C# console application with Google Coordinate .Net library and Service Account open authentication. private const string SERVICE_ACCOUNT_EMAIL = "XXX@developer.gserviceaccount.com"; private const string SERVICE_ACCOUNT_PKCS12_FILE_PATH = @"<path-to-private-key-file>\YYY-privatekey.p12"; private const string GOOGLE_COORDINATE_TEAM_ID = "ZZZ"; private CoordinateService BuildService() { X509Certificate2 certificate = new X509Certificate2(SERVICE_ACCOUNT_PKCS12_FILE_PATH, "notasecret",

c#: google drive : google apis.services are you missing an assembly or reference

一曲冷凌霜 提交于 2020-01-20 07:20:10
问题 i am trying to use google.drive for .net using the quickstart example. i have installed dlls via nuget, but am receiving the following error that i am missing a reference or assembly for google.apis.service. any help would be appreciated using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using DotNetOpenAuth.OAuth2; using Google.Apis.Authentication.OAuth2; using Google.Apis.Authentication.OAuth2

c#: google drive : google apis.services are you missing an assembly or reference

一世执手 提交于 2020-01-20 07:19:24
问题 i am trying to use google.drive for .net using the quickstart example. i have installed dlls via nuget, but am receiving the following error that i am missing a reference or assembly for google.apis.service. any help would be appreciated using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using DotNetOpenAuth.OAuth2; using Google.Apis.Authentication.OAuth2; using Google.Apis.Authentication.OAuth2

BigQuery and OAuth2

夙愿已清 提交于 2020-01-19 17:04:31
问题 I'm trying to access Google BigQuery using Service Account approach. My code is as follows: private static final HttpTransport HTTP_TRANSPORT = new NetHttpTransport(); private static final JsonFactory JSON_FACTORY = new JacksonFactory(); GoogleCredential credentials = new GoogleCredential.Builder() .setTransport(HTTP_TRANSPORT) .setJsonFactory(JSON_FACTORY) .setServiceAccountId("XXXXX@developer.gserviceaccount.com") .setServiceAccountScopes(BigqueryScopes.BIGQUERY)

Keep getting a “Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup” when attempting to google plus login on my web app

无人久伴 提交于 2020-01-18 04:07:40
问题 I'm trying to implement Google plus sign up on my web app and I followed the google docs to set up the sign up however when I attempt a signup after accepting permissions and using the access token returned to me any api restcall I make returns the Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup error. I have already signed up my app with a ouath 2.0 key, so I don't seem to get what I'm doing wrong. Here is my code. Cient Side: const clientId = "5XXX000XX.apps

Keep getting a “Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup” when attempting to google plus login on my web app

百般思念 提交于 2020-01-18 04:06:14
问题 I'm trying to implement Google plus sign up on my web app and I followed the google docs to set up the sign up however when I attempt a signup after accepting permissions and using the access token returned to me any api restcall I make returns the Daily Limit for Unauthenticated Use Exceeded. Continued use requires signup error. I have already signed up my app with a ouath 2.0 key, so I don't seem to get what I'm doing wrong. Here is my code. Cient Side: const clientId = "5XXX000XX.apps

How to manage API permissions? javascript

浪子不回头ぞ 提交于 2020-01-17 07:22:33
问题 I've written some client-side app and tried to test it. How it turned out only I can use it. Anyone else will get such error. { "error": { "errors": [ { "domain": "global", "reason": "forbidden", "message": "Forbidden" } ], "code": 403, "message": "Forbidden" } } What does it mean? How to solve this? There is my code. There i'm getting Email, name, surname and user photo. I want to get the number of youtube channel subscribers and work with youtube later. For example I want to rate some

Intermittent 403 “This service is not available from your country” Error for execution API

冷暖自知 提交于 2020-01-17 05:03:26
问题 https://www.googleapis.com/discovery/v1/apis/script/v1/rest returned "This service is not available from your country"> This is an error from the google python oauth2client library resulting from the call: service = discovery.build('script', 'v1', http=http) Ive been working on this code on this server for 5 days. Until today, everything worked perfectly. 回答1: The most likely reason for this is you are connecting to google's api system with an http request not https. check your loGs for such.

How do I Insert Google Calendar Event using Google Api 3 for any user in the domain?

痴心易碎 提交于 2020-01-17 03:56:10
问题 I am using Google Api v3 (PHP Libraries) and wish to add an event to a user's calendar in our Google Apps domain. I have created a client ID in the Google Developer console and have granted access to it under Security in our Google Apps Admin Console. However, the event will only insert into a user's calendar if the User has previously granted access to the developer account. I do not wish every user in our domain to have to grant the developer account access to their calendar. Is it possible

Google calendar API move event

不问归期 提交于 2020-01-17 02:21:15
问题 Heres the deal, On googles developer website they have at the bottom of each api function description a tool to try out the api, specifically I am using the calendar api (where it says " Use the APIs Explorer bellow to ...): https://developers.google.com/google-apps/calendar/v3/reference/events/get This call returns an event when you enter a calendar ID and an eventID. After switching the little OAuth2.0 switch on and entering my calandarID and an event ID of mine it returns a nice 200 ok