How to get access token for google oauth?

前端 未结 5 1786
离开以前
离开以前 2021-02-05 21:30

I am using C# (ASP.NET). I want to use Google OAuth for accessing the user profile detail in my app. I successfully got the authorization code but having a problem in getting th

5条回答
  •  后悔当初
    2021-02-05 22:12

    The original request seems to be somewhat outdated. But I found that the Google's code examples contain lots of "Best Practices" housekeeping code that's hard to separate from the essential operations.

    I recently published a document that represents all the REST operations as curl commands. It's hard to be conversant in every language, but curl seems universal. Most people know it- otherwise, it's pretty easy to grasp. In my curl examples, the -d flag indicates a POST operation. Otherwise, the parameters are appended to the URL.

    http://www.tqis.com/eloquency/googlecalendar.htm

提交回复
热议问题