Tag Archives for Google

Google API Offline Access Using OAuth 2.0 Refresh Token

Offline access for Google APIs is achieved through a refresh token that is issued when a user first visits the app and grants offline access. Essentially, you have to ask for offline access, Google warns them that you are asking for it, and then they have to grant it. The return contains the golden ticket [...]

Posted in OAuth, Web development | Also tagged , 5 Comments

Google API Requests with OAuth 2.0 Access Token

In the Authenticating with OAuth 2.0 for Google API Access with PHP post, an access token was retrieved for calls to Google APIs for data. In this post, the user’s name will be retrieved from their account. To do that, the access token needs to be sent as a header param or query param with [...]

Posted in OAuth, Web development | Also tagged , 4 Comments

Authenticating with OAuth 2.0 for Google API Access with PHP

Google is leading developers to OAuth 2.0 for access to its API’s: Given the security implications of getting the implementation correct, we strongly encourage developers to use OAuth 2.0 libraries when interacting with Google’s OAuth 2.0 endpoints (see Client libraries for more information). Over time, more features will be added to these libraries. Steps Register [...]

Posted in OAuth, Web development | Also tagged , 2 Comments

Google Analytics Core Reporting API (Data Export) with Google Chart Visualizations

Updated 12/20/11 and 01/04/12 to reflect Google’s API changes You can punch into the Google Analytics Core Reporting (Data Export) API, pull out some stats, and stuff them into some nice graphical charts using Google Chart Visualizations. This demo is done in PHP. Authenticate the User The user can authenticate via the ClientLogin or using [...]

Posted in Google Analytics, php, Web development | Also tagged , , 24 Comments

Using Google Docs to Create a Survey

After creating the pop-up survey in jQuery, further exploration on creating online polls has turned up Google Docs quick and dirty form creation. Google posted a 2-minute video on Google Docs form creation that pretty much sums it up. This has actually been around for a couple of years now but, even though it’s a [...]

Posted in Web development | Comments Off