Is Google Contacts API still available? - google-api

I am using Google's People API to fetch contacts associated with my contacts in Google. However, as has been pointed out elsewhere, that API does not access "Other contacts" which are available at https://contacts.google.com/other.
I'm looking for an API that will allow me to access that data. I tried the Contacts API per the instructions at https://developers.google.com/contacts/v3/ which says:
To retrieve all of a user's contacts, send an authorized GET request
to the following URL:
https://www.google.com/m8/feeds/contacts/{userEmail}/full
I tried this, replacing {useremail} with my own but only got an error. I am logged into my Google account.
Is the Contacts API still available?

I got it working by using some code to send an authorized request with api secret.

Related

How to get the get API path and parameters of Google play developer API?

I have added a non-renewable subscription for one of my projects. We also started implementing the Google play developer API to get the subscription latest status from the Play Store. For that we have done the below steps as per this blog:
Linked the developer account to a new Google Cloud Project.
Enabled the Google Play Developer API for the Google Cloud Project.
Created a service account and created a key for the service account.
I have below clarifications related to this implementation:
I tried to Grant Access for the following permissions: But the corresponding checkmark is not clickable.
View financial data, orders, and cancellation survey responses
Manage orders and subscriptions
The 3rd step as per the blog is to Authorize an API key, but I didn't get a clear idea of that.
We are going to implement this API on the back end side as a corn job, do we need to generate a JWT token for accessing this API? Is this possible to call without a Token? I found 2 types of implementations from this blog, which one is easy and secure?
"Your application can complete these tasks either by using the Google APIs client library for your language or by directly interacting with the OAuth 2.0 system using HTTP."
From where we get the get API path and other details. I found a similar get API from AppStore like this. Is the play store providing a similar kind of get API?
We need the latest purchase status API and for that what parameters do we need to pass?

400 error - Instagram API - Fetching media items based on Hashtags in Sandbox mode

I try to fetch photos based on hashtags using Instagram API(Sandbox mode). Using below API
https://api.instagram.com/v1/tags/awesome/media/recent?access_token=<My Access token>
I am getting the error
> {"meta": {"code": 400, "error_type": "OAuthPermissionsException",
> "error_message": "This client has not been approved to access this
> resource."}}
But if I use https://api.instagram.com/v1/users/self/media/recent/?access_token=<My Access Token>
then its returning recent 20 media items.
In my sandbox I have authenticated 1 more user but I am not getting any media items other than mine.
I am following the official documentation of Instagram API.
Please provide your inputs for this behavior.
/tags endpoints requires public_content scope enabled for your app. Without it you will not be able to use this endpoint. To be honest right now it is not possible to submit your app for review if you want to have public_content permission. Old Instagram API accepts apps for review only for basic scope. You should try to switch to Facebook Graph API, but please keep in mind that right now it supports only Instagram Business Accounts.
You can try to filter out media that does not contain the tag you wish in response from /self/media/recent endpoint. I know, not the best solution:/

Google integration in web application

I want to integrate gmail and google calendar in my web application. I can login via google and make api calls to either gmail OR google calendar API, depending on the authorisation that I request from google.
I have not found a way to request authorisation for more than one APIs simultaneously. Is this even possible? Is it possible to receive one access token in order to use it for requests against more than one of Google's APIs?
As far as I know it can be done. If you try testing it in Google Oauth 2.0 Playground and select multiple API scopes.
"scope": "https://www.googleapis.com/auth/calendar https://mail.google.com/ https://www.googleapis.com/auth/drive"
It should look like this:
Hope this helps.

Google Contacts API with codeigniter

I have a CodeIgniter application and I want access Google Contact API with OAuth solution. I want changes to be made in the Google Contact API when they are made in the database.
Already there is a Google account, have a client ID and client secret.
Please tell me what further steps should I take with Google Contacts and Google Developers Console.
Also, please tell me what files I need to add in Codeigniter and where to place them and the code I need to put in them.
I am new to Google API, CodeIgniter, PHP and web.

Is there any api available that can get contacts from my gmail account?

There are many api's available e.g. for post the message, list profile, get threads but I need the api to get the contacts from my account.
Google Contacts API version 3.0 can do that.
Documentation Link: https://developers.google.com/google-apps/contacts/v3/
What language do you use ?

Resources