When transitioning from Google+ authentication to GIDSignIn, do I need to get new clientIDs? - google-plus

Can I continue to use the same clientID I was using with Google+ with GIDSignIn? It seems to work, but I want to make sure.

The clientID is the ID of your app, and does not change.
You may wish to make sure that this clientID in the Google Cloud Console is not using any of the Google+ APIs or scopes, but otherwise you should be fine.

Related

Is it possible to fetch data with Google Ads API for others ads?

So in short, my task is to extract data from Google, and I'm curious if it's possible to fetch data using Google Ads API for different customers without all the required keys (developer token, refresh token, client_id and client secret). Is this possible or not? If yes, what privileges do I need, and what are the steps? If you know where I can find some clear documentation about this, it will be a lifesaver.
Thanks!
No, it isn't possible unless you have MCC credentials and the account is within that. Otherwise you will need to get credentials for each account.

How do sites like Instagress bypass Instagram's API?

I just discovered Instagress.com, and noticed that they ask you for your Instagram username and password to automate certain activity such as likes, comments, follows, etc. on your IG account. However they do this without using IG's official API since their service is obviously against IG's TOS.
So I'm wondering, how are they technically able to do this? I was thinking they use something like Selenium, but this only automates web browsers and (for all I know) it's impossible to perform those interaction through Instagram's web interface.
Any ideas?
I just checked..and actually you CAN Like, Comment, and Follow via Instagram's web interface. So most likely they do use a browser and/or mask it as a mobile device. Also they are not using any IG app to authenticate your profile to any api app. Otherwise it would show up here: https://instagram.com/accounts/manage_access/
the instagram web access can allow you like, comment and follow and unfollow

ClientID Credentials for Bigcommerce

I'm trying to find out how to get a ClientID and clientSecret to use with the Bigcommerce API.
Our website has to redirect an owner of a bigcommerce store to bigcommerce itself, so that they can grant us permission to query their sales data.
My understanding is that before doing this, we need credentials for OAuth, i.e. ClientID and ClientSecret, and that when our user grants us permission, we get back a token.
The only problem is, I can't see where to get our credentials in the first place. Bigcommerce seems to want you to create an 'App', which it then suggests you place on their store. We already have a website, which is going to call the API behind the scenes.
How do I go about getting ClientID, ClientSecret?
thanks in advance.
You want to create a developer account and then register a draft app which will provide a Client ID and Client Secret for you.
You can find the details in the Getting Started section here:
https://developer.bigcommerce.com/apps/

Find Google+ avatar for given email address without OAuth

In my app I want to show the Google+ profile picture for a user.
The only function, I found, in the API to get the profile picture needs a userId.
However, I only have their email adress and not their Google+ userID.
Moreover the person, whose image I want to get, should not be forced to log in and authorize my app, as this person is mostly not identical to the user of the app.
So I think I need to get their userId by email. I read through the Google+ API documentation but can't find a way to do this, but I can't believe that this is not possible.
So my question is:
How can I get the Google+ userID with only an email address?
Is there maybe an other Google API to get a profile picture?
There is an API provided by https://www.avatarapi.com/ which returns the user's name and profile pic from an email address based on Google's public info.
It can be called via SOAP or HTTP at this API endpoint:
https://www.avatarapi.com/avatar.asmx
One of the benefits of this API is that it does not require the user to be authenticated with Google via OAUTH, so this could be exactly what you are looking for.
You can't do this using just their email address, however, if they paste their Google+ url, you could parse the id from the URL string and then get their profile image (and cover image!) using the public data API. The url: https://plus.google.com/me will bring you to their profile.
I highly doubt this is possible. Any kind of querying against the Google Plus API requires OAUTH. What's more, I'm not aware of way to query for a user ID by email address in the first place.
This thread would seem to confirm that this is currently not possible.
You can use the people.search API to search by email address and without requesting the user to authenticate. However, that will only search the public profile fields, which email is not a public field by default.
The only API methods that require OAuth are those that access private data. For public data, you can use the more simple API key method.
To reliably achieve what you are describing, you'll want to use Oauth and the plus.me scope to get the information that you want. This does require authorizing your app however.

How to Integrate Google+ API iPhone

I am working on an iPhone application in which i have to implement Google+ API for login and fetching user details.I have used the API for it from this link https://developers.google.com done everything but immediately after login I am getting an error invalid scope.I don't know what i am missing out.Please let me know how to acheive this.
Thank you.
To access certain stuff on behalf of the user, we need to tell google that we are looking for such information (Access calendars, google+ etc).
The way to tell this to google is by defining scope. For google plus use
#"https://www.googleapis.com/auth/plus.me"
Refer to the SDK where to pass in the scope. Also make sure that you enable Google Plus in the Google API Console.