No description, website, or topics provided.
PHP
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
google-api-php-client
.DS_Store
README
index.php
index2.php
style.css

README

Google+ PHP Starter Application
=====================================

== Description
This application helps you get started writing a Google+ PHP application.

Requirements:
  PHP 5.2.x or higher [http://www.php.net/]
  PHP Curl extension [http://www.php.net/manual/en/intro.curl.php]
  PHP JSON extension [http://php.net/manual/en/book.json.php]
  Google API PHP Client [http://code.google.com/p/google-api-php-client]

Getting Started:
  0) Download the latest version of the google-api-php-client library. This is required by index.php
    curl -O "http://google-api-php-client.googlecode.com/files/google-api-php-client-0.4.4.tar.gz"
    tar -xvf  google-api-php-client-0.4.4.tar.gz

  1) Visit https://code.google.com/apis/console/?api=plus to register your application.
    - From the "Project Home" screen, activate access to "Google+ API".
    - Click on "API Access" in the left column
    - Click the button labeled "Create an OAuth2 client ID"
    - Give your application a name and click "Next"
    - Select "Web Application" as the "Application type"
    - click "Create client ID"
    - click "Edit..." for your new client ID
    - Under the callback URL, enter the location of your PHP application (example http://localhost/googleplus/index.php).

  2) Update index.php with the redirect uri, consumer key, secret, and developer key you obtained in step 1.
      - Update 'insert_your_oauth2_client_id' with your oauth2 client id.
      - Update 'insert_your_oauth2_client_secret' with your oauth2 client secret.
      - Update 'insert_your_oauth2_redirect_uri' with the fully qualified redirect URI.
      - Update 'insert_your_developer_key' with your developer key.  This is listed under "Simple API Access" at the very bottom in the Google API Console.

  3) You are now ready to load index.php on your web server.

OAuth 2 instructions:
  http://code.google.com/p/google-api-php-client/wiki/OAuth2

Supported sample applications:
  http://code.google.com/p/google-api-php-client/wiki/Samples