<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Sat, 18 May 2013 02:54:45 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[WebSpeaks.in: Search Google Plus Profiles using PHP and Google Plus API]]></title>
      <guid>http://www.phpdeveloper.org/news/18034</guid>
      <link>http://www.phpdeveloper.org/news/18034</link>
      <description><![CDATA[<p>
In <a href="http://www.webspeaks.in/2012/05/search-google-plus-profiles-using-php.html">this new tutorial</a> to the WebSpeaks blog, <i>Arvind Bhardwj</i> shows you how to hook up to the Google+ API and search profiles for your desired terms.
</p>
<blockquote>
The main aim of this application is to go familiar with the Google Plus API usage. Google Plus provides an extremely easy to use API to access the public contents on it. Here we will create a simple search application to search user profiles on Google Plus.
</blockquote>
<p>
Complete code is provided in the post (PHP) and instructions on setting up an "application" on G+ so you can get the keys needed to connect to the API. You can see it in action in <a href="http://demos.webspeaks.in/gplus/search/">the live demo</a> or just <a href="https://www.box.com/s/715fb9da61c459a1fe8b">download the source</a> to get started.
</p>]]></description>
      <pubDate>Fri, 01 Jun 2012 09:05:05 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Using OAuth2 for Google APIs with PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/17752</guid>
      <link>http://www.phpdeveloper.org/news/17752</link>
      <description><![CDATA[<p>
<i>Lorna Mitchell</i> has <a href="http://www.lornajane.net/posts/2012/using-oauth2-for-google-apis-with-php">a new post</a> to her blog today showing how to use the functionality provided by the <a href="http://pecl.php.net/package/pecl_http">pecl_http</a> extension to make an OAuth2 connection to Google.
</p>
<blockquote>
I've written about Google and OAuth before, but that was OAuth v1.0, and they are introducing OAuth2 for their newer APIs; in this example I was identifying myself in order to use the Google Plus API. [...] OAuth 2 doesn't need an extension or any particular library as it doesn't have the signing component that OAuth 1 had, and OAuth 2 also has fewer round trips. It does require SSL however, because the requests are in the clear.
</blockquote>
<p>
She includes some code snippets with an example of a connection - making a request to the remote HTTPS resource, adding some parameters to the URL (including the response type, your client ID and a redirect url). The response then contains the "code" value you'll need to make the second request to fetch the access token you'll need on future requests. You can find out more about the interface she's accessing in <a href="https://developers.google.com/+/api/">these docs</a> about the Google Plus API.
</p>]]></description>
      <pubDate>Thu, 29 Mar 2012 12:02:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DZone.com: Practical Google+ Api]]></title>
      <guid>http://www.phpdeveloper.org/news/16885</guid>
      <link>http://www.phpdeveloper.org/news/16885</link>
      <description><![CDATA[<p>
On Dzone.com today <i>Giorgio Sironi</i> has a new post looking at a relatively new release on the social networking scene for developers, the Google+ Api, and some details on <a href="http://css.dzone.com/articles/practical-google-api">how you get get started writing apps using the features it offers</a>.
</p>
<blockquote>
Google+ recently releases to developers the first version of its Api, which focuses on public data about profiles and their activities: status updates, resharings and links. I dived into the Api and wrote a small sample application to get a feel of how easy is to get started, and what can we do with the Api for now. All the code is at the bottom of this post.
</blockquote>
<p>
He goes through the steps you'll need to get set up - registering an application, getting a library to help make the connection (<a href="http://code.google.com/p/google-api-php-client/">here's a PHP one</a>) and configuring it with your credentials. You can get "People" and "Activities" information from the API. He shows some sample output for each - basic user information (nested arrays) and some of his activities (again, nested arrays). He includes the source for his sample application that pulls a user's profile information and lists out their latest (public) activities.
</p>]]></description>
      <pubDate>Wed, 21 Sep 2011 08:27:53 -0500</pubDate>
    </item>
  </channel>
</rss>
