Getting Started With The Google+ PHP API

This screencast will teach you how to get your Google+ application setup and running to begin working with the Google + API. We will use the PHP sample test app to setup an application and get started with the API. Google+ is google’s new social media platform designed to compete with facebook.


Related Screencasts:
Creating An Amazon EC2 Instance With Linux Lamp Stack

3 thoughts on “Getting Started With The Google+ PHP API

  1. I followed exact steps from your Getting Started With The Google+ PHP API video. But I get the following error when I hit connect.

    Fatal error: Uncaught exception ‘apiIOException’ with message ‘HTTP Error: (60) SSL certificate problem, verify that the CA cert is OK. Details: error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed’ in C:xampphtdocsgoogleplusgoogle-api-php-clientsrcioapiCurlIO.php:120 Stack trace: #0 C:xampphtdocsgoogleplusgoogle-api-php-clientsrcauthapiOAuth2.php(72): apiCurlIO->makeRequest(Object(apiHttpRequest)) #1 C:xampphtdocsgoogleplusgoogle-api-php-clientsrcapiClient.php(130): apiOAuth2->authenticate(Array) #2 C:xampphtdocsgoogleplusindex.php(38): apiClient->authenticate() #3 {main} thrown in C:xampphtdocsgoogleplusgoogle-api-php-clientsrcioapiCurlIO.php on line 120

    1. When you setup your domain in the config process. Did you select https (it’s default) so unless you changed it to http it is going to be looking for an ssl cert. The screen casts covers that point.

      1. It seams windows version of PHP and it doesn’t come bundled with a Certificate Authority bundle.

        You need to add the following line to apiCurlIO.php right before the line “$data = @curl_exec($ch);”
        curl_setopt($ch, CURLOPT_CAINFO, ‘c:/path/to/ca-bundle.crt’);

        You’ll need to replace ‘c:/path/to/ca-bundle.crt’ to whereever you have the ca-bundle.crt file.

        source :!topic/google-api-php-client/S1GBH6-2KOg

Leave a Reply

Your email address will not be published. Required fields are marked *