<?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>Sun, 26 May 2013 00:34:55 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lorna Mitchell's Blog: Google Analytics Accounts API]]></title>
      <guid>http://www.phpdeveloper.org/news/15477</guid>
      <link>http://www.phpdeveloper.org/news/15477</link>
      <description><![CDATA[<p>
In <a href="http://www.lornajane.net/posts/2010/Google-Analytics-Accounts-API">this new post</a> to her blog <i>Lorna Mitchell</i> looks at some of the work she's done to extract information out of the Google Analytics accounts API via an OAuth interface and parsed via SimpleXML.
</p>
<blockquote>
I'm using <a href="http://pecl.php.net/package/oauth">pecl_oauth</a> to authenticate users against their google accounts (see my post about <a href="http://www.lornajane.net/posts/2010/Authenticating-with-OAuth-from-PHP">using OAuth from PHP</a>), but even after I have a valid google user, working out which analytics accounts they have access to and how to refer to them is a puzzle in itself, so I thought I'd share what I learned.
</blockquote>
<p>
In her example she shows how to fetch the permissions for a user (which analytics they can access) via a call to the "/feeds/datasources/ga/accounts" URL. This returns some XML easily parsed by <a href="http://php.net/simplexml">SimpleXML</a> to grab the accounts' names and IDs. This is used to fetch the profiles and gather the "magic tableId" for use with the <a href="http://code.google.com/apis/analytics/docs/gdata/gdataReferenceDataFeed.html">Export API</a> to pull the actual data.
</p>]]></description>
      <pubDate>Tue, 23 Nov 2010 10:56:35 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Pique Web Podcast: Pique Web Episode 3 - Sessions, accounts, and the PHP Anthem]]></title>
      <guid>http://www.phpdeveloper.org/news/14978</guid>
      <link>http://www.phpdeveloper.org/news/14978</link>
      <description><![CDATA[<p>
The Pique Web podcast has released <a href="http://piqueweb.net/pique_web_episode_3_sessions_accounts_and_the_php_anthem">their third episode</a> with a special guest, <i>Chris Shiflett</i>, joining hosts <i>Paul Reinheimer</i> and <i>Sean Coates</i>.
</p>
<blockquote>
n this episode, <a href="http://shiflett.org/">Chris Shiflett</a> joins hosts <a href="http://blog.preinheimer.com/">Paul Reinhimer</a> and <a href="http://seancoates.com/">Sean Coates</a> to talk about user accounts, sessions and best practices for modern web applications. Sean also had the opportunity to speak with <a href="http://blog.leefernandes.com/">Lee Fernandes</a>, the creator of the PHP Anthem, and we attached the conversation (and the song) to the end of this episode.
</blockquote>
<p>
Things mentioned in this episode include <a href="http://brooklynbeta.org/">BrooklynBeta</a>, <a href="http://agilewebsolutions.com/products/1Password">1Password</a>, <a href="http://seancoates.com/blogs/a-weak-web-of-trust">Weak Web of Trust</a> and the lyrics to the <a href="http://shiflett.org/blog/2010/aug/php-anthem">PHP Anthem</a>. You can either <a href="http://traffic.libsyn.com/piqueweb/Pique_Web_3-Accounts_and_Sessions_with_Chris_Shiflett_plus_PHP_Anthem_with_Lee_Fernandes.mp3">directly download</a> this latest mp3 or <a href="http://piqueweb.net/rss">subscribe to their feed</a> for this and other episodes.
</p>]]></description>
      <pubDate>Wed, 18 Aug 2010 08:24:13 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Joshua Eichorn's Blog: WebThumb contest ends on the 15th]]></title>
      <guid>http://www.phpdeveloper.org/news/7067</guid>
      <link>http://www.phpdeveloper.org/news/7067</link>
      <description><![CDATA[<p>
<i>Joshua Eichorn</i> has <a href="http://blog.joshuaeichorn.com/archives/2007/01/09/webthumb-content-ends-on-the-15th/">a reminder</a> about the WebThumb (a PHP-based website thumbnailing service) contest that he's having.
</p>
<blockquote>
The <a href="http://bluga.net/webthumb/contest.php">WebThumb contest</a> ends on the 15th. I know there are couple projects out there that haven't officially entered. If you want to have a chance to win an upgraded Webthumb account make sure to get your entries in, the contest website has all the details.
</blockquote>
<p>
The <a href="http://bluga.net/webthumb/">WebThumb service</a> is a web service that allows remote users to request a thumbnail of a site and, when it's ready, automatically fetch it to be used however they want. You can even defined custom heights and widths for the browser to use. 
</p>]]></description>
      <pubDate>Wed, 10 Jan 2007 07:13:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[JSLabs Blog:  How to use the facebook API]]></title>
      <guid>http://www.phpdeveloper.org/news/6432</guid>
      <link>http://www.phpdeveloper.org/news/6432</link>
      <description><![CDATA[<p>
On the JSLabs blog today, there's <a href="http://www.whenpenguinsattack.com/2006/10/05/how-to-use-the-facebook-api/">a new tutorial</a> showing how you (yes you) can use the <a href="http://developers.facebook.com">Facebook Developer's API</a> to pull information from their systems.
</p>
<blockquote>
The facebook API allows you to access profiles, friends, photos, and events.  To access the API from an outside server, you need to go through the following steps:
<ul>
<li>login to your Facebook Account
<li>get an <a href="http://developers.facebook.com/account.php?action=add_key">account key</a>
<li>Get the <a href="http://developers.facebook.com/documentation.php?doc=clients">client library</a>
<li>The php 5 library can be found <a href="http://developers.facebook.com/clientlibs/php5_client.tar.gz">here</a>
</ul>
</blockquote>
<p>
He uses the PHP library to <a href="http://www.whenpenguinsattack.com/2006/10/05/how-to-use-the-facebook-api/">make the connection</a> - a simple call to the API (complete with API key, the location of the interface, a secret key, and a session key to provide a unique identifier. The request made logs a user in (much have a valid Facebook account) and grabs: the count of the messages waiting, the number of posts to your wall, and a list of available photo albums.
</p>]]></description>
      <pubDate>Thu, 05 Oct 2006 13:51:38 -0500</pubDate>
    </item>
  </channel>
</rss>
