News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DZone.com:
Practical Google+ Api
September 21, 2011 @ 08:27:53

On Dzone.com today Giorgio Sironi has a new post looking at a relatively new release on the social networking scene for developers, the Google+ Api, and some details on how you get get started writing apps using the features it offers.

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.

He goes through the steps you'll need to get set up - registering an application, getting a library to help make the connection (here's a PHP one) 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.

0 comments voice your opinion now!
googleplus api introduction sample library application


blog comments powered by Disqus

Similar Posts

Stuart Herbert's Blog: PHP Components: PHP Components: Shipping Unit Tests With Your Component

SitePoint PHP Blog: Fractal: a Practical Walkthrough

Ed Finkler's Blog: Inspekt Project funded by OWASP

Zend Developer Zone: Profiling PHP Applications With xdebug

Chris Hartjes' Blog: Protecting Your PHP Code


Community Events

Don't see your event here?
Let us know!


list framework php7 introduction project series laravel podcast example configure api composer opinion interview yii2 symfony application part2 community language

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework