google-api

Upload a video to google using GTLRYouTubeService fails

北城余情 提交于 2021-02-20 03:59:49
问题 I'm trying to upload a video to youtube using GTLRYouTubeService from my iOS-app The login process is done via GIDSignIn and works so far. When the user logged in, I'm setting up the youtube-service: self.youTubeService = [GTLRYouTubeService new]; self.youTubeService.APIKey = API_KEY; self.youTubeService.authorizer = user.authentication.fetcherAuthorizer; Then I'm preparing the video object like this: GTLRYouTube_VideoStatus *status = [GTLRYouTube_VideoStatus object]; status.privacyStatus = @

Error: redirect_uri_mismatch (ASP.NET MVC)

我与影子孤独终老i 提交于 2021-02-19 01:17:58
问题 I am getting the following error when trying to let user login using GOOGLE I have tried so many things and nothing works I used the following code initially app.UseGoogleAuthentication(clientId: "APIKEY.apps.googleusercontent.com", clientSecret: "SECRET-K"); I also tried the following app.UseGoogleAuthentication(new GoogleOAuth2AuthenticationOptions() { ClientId = "APIKEY.apps.googleusercontent.com", ClientSecret = "SECRET-K", CallbackPath = new PathString("/signin-google") }); No luck at

Error: redirect_uri_mismatch (ASP.NET MVC)

时光怂恿深爱的人放手 提交于 2021-02-19 01:16:17
问题 I am getting the following error when trying to let user login using GOOGLE I have tried so many things and nothing works I used the following code initially app.UseGoogleAuthentication(clientId: "APIKEY.apps.googleusercontent.com", clientSecret: "SECRET-K"); I also tried the following app.UseGoogleAuthentication(new GoogleOAuth2AuthenticationOptions() { ClientId = "APIKEY.apps.googleusercontent.com", ClientSecret = "SECRET-K", CallbackPath = new PathString("/signin-google") }); No luck at

How do I setup a public Google Cloud Storage bucket

血红的双手。 提交于 2021-02-18 09:59:31
问题 I am trying to upload files to a bucket on Google Cloud Storage, but I am having trouble figuring out how to set it up so that it is publicly writable and readable. In other words, I don't want to have to require authentication from the user in order to upload to the bucket. Does anybody know the steps to follow in order to set this up? I would also like to know what I need to append to my request headers in order to upload files to this bucket. I am using the iOS API client, but if anybody

I am getting “dailyLimitExceeded” errors with barely 300 total requests

社会主义新天地 提交于 2021-02-17 06:55:31
问题 I am getting "dailyLimitExceeded" errors with barely 300 total requests... I created this api project a few hours ago and everything was working fine at the beginning until I hit about 200 requests and from there every request failed this is the type of request I am currently trying https://www.googleapis.com/youtube/v3/search?order=date&part=snippet&channelId={{channel_id}}&maxResults=25&key={{api_key}} What am I missing? Why was my API key locked so quickly? Thank you! 回答1: The Search

google service account credentials not working

孤者浪人 提交于 2021-02-17 05:55:10
问题 I am trying to create a simple web application that automatically uploads my database & media backup to a designated google drive. I have followed the official document and created a service account credential, gave it the owner role, and extracted a key(json file) from Google cloud platform. I enabled the Google Drive API on my account and wrote this code, but the credentials.valid returns False and my file would not upload to my drive. from google.oauth2 import service_account import

Unable to execute rest api via curl [closed]

北城以北 提交于 2021-02-17 05:17:28
问题 Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 days ago . Improve this question I am using Google Geolocation API and trying to run it via curl. But I am unable to do it Request { "considerIp": "true", "wifiAccessPoints": [{ "macAddress": "00:1e:64:f6:45:aa" // my system mac address } ] } The above request is saved into a file and the file

How to restart Google App Engine Standard Service

给你一囗甜甜゛ 提交于 2021-02-17 03:53:51
问题 Context: I have an app that serves interactive graphs and data analysis. In order to calculate plots and data summaries, it uses a dataset that is loaded upon App initialization by querying google BigQuery. The data is then kept as a global variable (in memory) and is used in all data calculations and plots that might be run by different users (each user saves in their session their own filters/mask). This dataset changes in BigQuery once per day during the night (I know the exact datetime of

Restrict Google+ Sign-In to specific Apps Domain

寵の児 提交于 2021-02-17 03:20:54
问题 Currently using the OAuth server side one-time-code flow, discussed here: https://developers.google.com/+/web/signin/server-side-flow Works perfectly for google login. I want the ability, though, to limit this login to only work for users that belong to a specific apps domain. Is there any way to enforce this through the api? OR am I limited to only doing this on my end after google authentication by regexing the email domain? (I would like to avoid this). Thanks! 回答1: There is no support for