<?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 07:20:19 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPBuilder.com: Oauth Authentication for Social Apps in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/19155</guid>
      <link>http://www.phpdeveloper.org/news/19155</link>
      <description><![CDATA[<p>
On PHPBuilder.com today there's a tutorial <a href="http://www.phpbuilder.com/articles/application-architecture/miscellaneous/oauth-authentication-for-social-apps-in-php.html">introducing you to OAuth</a> and how to use it in your PHP applications.
</p>
<blockquote>
Oauth is an open standard for authorization that allows secure authorization from web, mobile and desktop applications. This standard allows a third-party application to gain access to a HTTP service, i.e. it enables users to share their resources from one website with another website without having to give out their credentials (usually username and password). [...] Oauth authorization is carried out in 3 steps: obtain a request token, authorize request token and exchange request token for an access token.
</blockquote>
<p>
They introduce you to some of the basic concepts behind OAuth and how the process works (complete with a <a href="http://www.phpbuilder.com/imagesvr_ce/2463/Oauth-image001.png">handy graphic</a>). They then show how to use OAuth to connect to the Facebook API, both in Javascript then PHP. This is followed with two other examples referencing popular social sites Twitter and Foursquare, hitting their APIs with simple authentication requests.
</p>]]></description>
      <pubDate>Fri, 08 Feb 2013 10:27:18 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PPI Framework Blog: Tutorial: GeoLocation with FourSquare and Google Maps]]></title>
      <guid>http://www.phpdeveloper.org/news/19100</guid>
      <link>http://www.phpdeveloper.org/news/19100</link>
      <description><![CDATA[<p>
On the PPI framework blog there's a recent post showing how to use the framework to <a href="http://www.ppi.io/blog/1/tutorial-geolocation-with-foursquare-and-google-maps">create geolocation functionality</a> via an interface with FourSquare and Google Maps.
</p>
<blockquote>
In this article, we're going to learn how to work with the framework as a whole by writing a real-world application: making a module, controller, routes, templates (views) and services. In order to achieve this we are will use the Foursquare API, and APC for caching the API lookups. We will plot venues from Foursquare in Google Maps for display.
</blockquote>
<p>
They help you set up a skeleton application and start on creating the "Foursquare Module" along with its controller and views. There's Javascript code included to use the Google Maps functionality and a simple class to work with the FourSquare API to get nearby venues. In the end, you'll have a <a href="http://www.ppi.io/blog/images/foursquare-2.png">basic application</a> that maps out the points automatically.
</p>]]></description>
      <pubDate>Mon, 28 Jan 2013 13:06:28 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[James Morris' Blog: A Symfony2 Console Command and the Foursquare API Venuehistory]]></title>
      <guid>http://www.phpdeveloper.org/news/16813</guid>
      <link>http://www.phpdeveloper.org/news/16813</link>
      <description><![CDATA[<p>
In a new post to his blog <i>James Morris</i> has <a href="http://blog.jmoz.co.uk/symfony2-command-foursquare-api">shared a custom Symfony2 console command</a> he's written to pull in Foursquare data for his testing locally.
</p>
<blockquote>
I've been playing with the Foursquare API recently, I'm attempting to get a new homepage built and want to display a map of where I hang out. I use Foursquare quite a bit so wanted to get the locations from their API then plot them on Google maps. There's a <a href="https://developer.foursquare.com/docs/users/venuehistory.html">venuehistory endpoint</a> that gives you a massive list of all the venues you've checked into with details such as the venue name, location including lat and lng coordinates, and the count of times you've checked in.
</blockquote>
<p>
He includes <a href="http://posterous.com/getfile/files.posterous.com/jmoz/ejqtAckwmaDfjxHECcarAxGeqrHIklJlmtbrxlogdjskygzCletjbsdIzfJm/media_httpdldropboxco_GDpci.png.scaled1000.png">a screenshot</a> of the API's results, the code you'll need to recreate it and <a href="http://posterous.com/getfile/files.posterous.com/jmoz/aHoxvDdodwFtkDltlnBkciufBoHbmHJeqckeBGDnssufAEhyCApnhzHyJkev/media_httpdldropboxco_rkCdq.png.scaled1000.png">an example of it running</a>.
</p>]]></description>
      <pubDate>Mon, 05 Sep 2011 09:54:40 -0500</pubDate>
    </item>
  </channel>
</rss>
