Questions tagged [google-api]
Use for questions about various Google APIs. The APIs are usually based on popular Google consumer products, including Cloud Platform, Google Maps, Google Earth, AdSense, Adwords, Google Apps, and YouTube. Do not use for API client library questions.
google-api
19,965
questions
798
votes
12
answers
1.0m
views
Is there a link to the "latest" jQuery library on Google APIs? [duplicate]
I use the following for a jQuery link in my <script> tags:
http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.js
Is there a link to the "latest" version? Something like the following (...
346
votes
10
answers
221k
views
What are the alternatives now that the Google web search API has been deprecated? [closed]
Google Web Search API has been deprecated and replaced with Custom Search API (see http://code.google.com/apis/websearch/).
I wanted to search the whole web but it looks like with the new API only ...
332
votes
3
answers
93k
views
Error: invalid_client no application name
I am using Google Apps API for my application and trying to authorize it using OAuth2. I have created a project and an application within it using the Google API console. I am using the following URL ...
298
votes
3
answers
123k
views
Is there a Google Keep API? [closed]
Is there a API for Google Keep? I want to make a windows 8 app for Google Keep, so that it synchronizes with your phone.
I looked into the Drive SDK because Google Keep is a extension of Google ...
238
votes
37
answers
444k
views
invalid_grant trying to get OAuth token from Google
I keep getting an invalid_grant error on trying to get an OAuth token from Google to connect to their contacts API. All the information is correct and I have triple-checked this so I'm kind of stumped....
224
votes
5
answers
119k
views
Why do access tokens expire?
I am just getting started working with Google API and OAuth2. When the client authorizes my app I am given a "refresh token" and a short lived "access token". Now every time the access token expires, ...
209
votes
8
answers
193k
views
Google Sheets API returns "The caller does not have permission" when using server key
I've generated a server key in the API Manager and attempted to execute the following on my Mac:
curl 'https://sheets.googleapis.com/v4/spreadsheets/MySheetID?ranges=A1:B5&key=...
169
votes
11
answers
142k
views
Do Google refresh tokens expire?
I have used the refresh token several times in just a short period for testing purposes, but I wonder whether Google refresh tokens ever expire? Can I use the same refresh token to get another access ...
161
votes
17
answers
423k
views
How can I validate google reCAPTCHA v2 using javascript/jQuery?
I have a simple contact form in aspx.
I want to validate the reCaptcha (client-side) before submitting the form.
Please help.
Sample code:
<%@ Page Language="VB" AutoEventWireup="false" ...
155
votes
6
answers
141k
views
Google OAuth 2.0 redirect_uri with several parameters
How to add a parameters to the Google OAuth 2.0 redirect_uri?
Just like this:
redirect_uri=http://www.example.com/redirect.html?a=b
The b of a=b is random.
Anyone can help ?
148
votes
7
answers
680k
views
Access-Control-Allow-Origin error sending a jQuery Post to Google API's
I read a lot for the 'Access-Control-Allow-Origin' error, but I don't understand what I have to fix :(
I'm playing with Google Moderator API, but when I try to add new serie I receive:
...
131
votes
14
answers
331k
views
How can I get stock quotes using Google Finance API?
I'm looking for access to financial data from Google services.
I found this URL that gets the stock data for Microsoft.
What are all the possible parameters that Google allows for this kind of HTTP ...
130
votes
21
answers
153k
views
Google API: Not a valid origin for the client: url has not been whitelisted for client ID "ID"
I need help. I don't found an answer to my question. I tried googling and I tried asking on other sides but I never found an answer.
I'm working with the google API (Youtube data API) and I use the ...
128
votes
7
answers
217k
views
Set GOOGLE_APPLICATION_CREDENTIALS in Python project to use Google API
I am a programming beginner and thing I'm trying to learn how to use google API with Python.
I have:
created a project on Google Cloud and enabled the API that I want to use, Natural Language API.
...
126
votes
11
answers
307k
views
Get user info via Google API
Is it possible to get information from user's profile via Google API? If it is possible, which API should I use?
I'm interesting in such information:
Url to the user profile (e.g. https://profiles....
125
votes
5
answers
95k
views
How can I access an object property named as a variable in php?
A Google APIs encoded in JSON returned an object such as this
[updated] => stdClass Object
(
[$t] => 2010-08-18T19:17:42.026Z
)
Anyone knows how can I access the $t value?
$object->$t ...
124
votes
14
answers
179k
views
This IP, site or mobile application is not authorized to use this API key
I am using https://maps.googleapis.com/maps/api/geocode/json? link with server key and user IP to find the latitude and longitude of any address, when I'm trying I find the error as
I have a server ...
119
votes
12
answers
195k
views
How can I access Google Sheet spreadsheets only with Javascript?
I want to access Google Spreadsheets using JavaScript only (no .NET, C#, Java, etc.)
I came here and was shocked to know that there is NO API for JavaScript to access Google Sheets.
Please tell me ...
107
votes
8
answers
235k
views
Using Postman to access OAuth 2.0 Google APIs
I am trying to access Proximity Google API using Postman chrome app. I have followed tutorials on postman and google dev website but I'm still getting 401 error message.
What am I doing?
Step 1 - ...
106
votes
3
answers
31k
views
client secret in OAuth 2.0
To use google drive api, I have to play with the authentication using OAuth2.0. And I got a few question about this.
Client id and client secret are used to identify what my app is. But they must be ...
105
votes
8
answers
86k
views
Error: 'The project id used to call the Google Play Developer API has not been linked in the Google Play Developer Console.'
I am getting the following error while accessing Google Play Developer API using a service account:
The project id used to call the Google Play Developer API has not been linked in the Google Play ...
104
votes
9
answers
25k
views
Is there already a Google+ API? [closed]
I would like to know if there is already a Google+ API available to the developers. I have not yet found something?
The API is now here available: https://developers.google.com/+/
104
votes
6
answers
83k
views
Restrict Login Email with Google OAuth2.0 to Specific Domain Name
I can't seem to find any documentation on how to restrict the login to my web application (which uses OAuth2.0 and Google APIs) to only accept authentication requests from users with an email on a ...
103
votes
20
answers
104k
views
How to check if a Firebase App is already initialized on Android
With the following, the first time it's called it works, but then fails on subsequent calls with "FirebaseApp name [DEFAULT] already exists!"
public FirebaseDatabase conn(Context c) {
...
101
votes
2
answers
76k
views
How do I authorise an app (web or installed) without user intervention?
Let's say that I have a web app ("mydriveapp") that needs to access Drive files in a background service. It will either own the files it is accessing, or be run in a Google Account with ...
101
votes
16
answers
157k
views
Where can I get Google developer key
I am working on Google API like chat, contacts and so on...
I am stuck on developer_key as mentioned in gdata doc.
You can get this at https://code.google.com/apis/console:
'developer_key' => ''
...
100
votes
21
answers
55k
views
Google Play Developer API - "The current user has insufficient permissions to perform the requested operation."
I have a Google dev console process with Google Play Developer API is enabled and the project is linked to Google Play project.
In Google Dev console project, created OAuth Client ID (web application) ...
99
votes
18
answers
154k
views
How to refresh token with Google API client?
I've been playing around with the Google Analytics API (V3) and have run into som errors. Firstly, everything is set up correct and worked with my testing account. But when I want to grab data from ...
98
votes
12
answers
128k
views
Getting Google+ profile picture url with user_id
I know that lots of social network APIs provide a way to construct a url to the profile picture of a user, using their user_id or username. For Facebook it looks like this:
http://graph.facebook.com/...
95
votes
15
answers
29k
views
OAuth consent screen - ability to remove application logo
I added an application logo by mistake on the OAuth consent screen (URL: https://console.cloud.google.com/apis/credentials/consent), and now it says my consent screen requires verification by Google.
...
93
votes
9
answers
108k
views
Google image search says api no longer available
I am using google image search API. Till yesterday it was working, but today morning it says "This API is no longer available"
Is it officially closed, Or any error at my side
Request
https://ajax....
91
votes
18
answers
174k
views
Google API authentication: Not valid origin for the client
When making an auth request to the Google API (gapi), it's returning false on the checkOrigin.
I have removed any client id's or anything that would link directly to my account and replaced it with a ...
88
votes
15
answers
70k
views
SecurityException - GoogleCertificatesRslt: not allowed
We have an app with some million users. Over the past week we have gotten around 30 "velocity alerts" from Firebase Crashlytics from older versions of the app with error messages like this:
...
88
votes
3
answers
31k
views
AWS Lambda : OpenBLAS WARNING - could not determine the L2 cache size on this system, assuming 256k - While using Google Custom Search API
I deployed the Google Custom Search API as AWS lambda function for my project. It uses the 3GB (full memory provided by lambda) and task got terminated.
It throws a warning :
"OpenBLAS WARNING - ...
87
votes
4
answers
242k
views
Lookup City and State by Zip Google Geocode Api [closed]
I basically want to retrieve a list of city and state within a zipcode. Is Google's Geocode API capable of doing so? I've tried looking into the documentation but found the information overwhelming.
...
87
votes
6
answers
90k
views
Format for a url that goes to Google image search?
I have a web page which has links at the bottom like this:
- <a href='http://www.google.com/q?rome+photos'>photos of rome</a>
- <a href='http://www.google.com/q?paris+photos'>photos ...
83
votes
7
answers
59k
views
Automating pydrive verification process
I am trying to automate the GoogleAuth process when using the pydrive library (https://pypi.python.org/pypi/PyDrive).
I've set up the pydrive and the google API such that my secret_client.json works ...
76
votes
8
answers
123k
views
How do I access (read, write) Google Sheets spreadsheets with Python?
I am wondering if you can point me to an example of reading/writing to/from a google doc/spreadsheet using python.
I did look at google docs API here https://developers.google.com/google-apps/...
76
votes
2
answers
166k
views
OAuth2 and Google API: access token expiration time?
We have a standalone Java application (see "Installed application") which runs periodically and uses Google API (updates some information from customer databases/ldap/...).
To access Google APIs we ...
75
votes
3
answers
14k
views
HTTPError 403 (Forbidden) with Django and python-social-auth connecting to Google with OAuth2
Using python-social-auth, I get a 403: Forbiden error message after accepting access from google
EDIT: I've recently (2017) had the same error but under a new message: 401 Client Error: Unauthorized ...
74
votes
27
answers
147k
views
Keystore file doesn't exist
I'm trying to get the SHA1 fingerprint so I can get an Google API key.
Im in the following directory:
/Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/bin
Then I execute the ...
74
votes
6
answers
73k
views
How to identify a Google OAuth2 user?
I used Facebook login to identify users. When a new user comes, I store their userID in my database. Next time they come, I recognized their Facebook ID and I know which user it is in my database.
...
73
votes
5
answers
19k
views
Service account doesn't show up in Google Play Console after creation
From my Google Play console I linked a project. Then I created a service account. Still, when refreshing the console, it still says "There are no service accounts associated with your project."
Waited ...
71
votes
6
answers
29k
views
How to change Google consent screen email?
I created new Google Play game and would like to change the email displayed on Google Consent Screen. Google Developers Console screen has a dropdown to choose email, but just one - admin's email - is ...
71
votes
2
answers
62k
views
What does "offline" access in OAuth mean?
What exactly does the word "offline" mean with regard to the offline access granted by an OAuth server?
Does it mean that the resource server will return data about the user even when the user is ...
69
votes
10
answers
45k
views
Token must be a short-lived token and in a reasonable timeframe
I am having the same error as this.
In my case it is happening when the app is trying to upload a file via Google Cloud Client API.
POST https://www.googleapis.com/oauth2/v4/token
400 Bad Request
...
66
votes
3
answers
85k
views
Multiple Scope Values to oauth2
I try to post several scope values to allow my application for some google service...
I tried with two input field
<input type="hidden" name="scope" value="https://www....
66
votes
9
answers
142k
views
Is there direct API for Google Meet? [closed]
I'm creating a system where I want to generate Google Meet meeting from NodeJS code. Is there API for creating a new meeting in Google Meet ? There is button Create new meeting on https://meet.google....
65
votes
5
answers
84k
views
How to get dummy google access token to test oauth google api
Is there any way in which I can generate access token to test oauth for logging in with gmail?
I have created a google app, and got the client and secret ids.
I know facebook will allow you to do ...
62
votes
8
answers
82k
views
Android Studio DexIndexOverflowException: method ID not in
I use Android Studio to develop an application and I face this error which I have no idea how to solve.
com.android.dex.DexIndexOverflowException: method ID not in [0, 0xffff]
:app:...