Answer the question
In order to leave comments, you need to log in
CURL+PHP Google authorization?
Good day. Started learning CURL. There was a problem of authorization through CURL in Google account on login and the password! Wherever I go, everywhere they write about the Google API. There seems to be an authorization method for login / pass. Do you really need some kind of secret_key and secret_id? Something with tokens was written. In general, knowledgeable people will understand. Can you briefly describe the principle of applying these techniques?
Answer the question
In order to leave comments, you need to log in
Google recommends using their client libraries for OAuth authentication.
It is most likely impossible to imitate a browser with cURL and PHP. If you really want to - look towards outdated mobile browsers without JS - how Google authorization looks from them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question