<?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>Thu, 23 May 2013 22:09:22 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Cal Evans' Blog: Accessing Twitter via Zend_Service_Twitter]]></title>
      <guid>http://www.phpdeveloper.org/news/15803</guid>
      <link>http://www.phpdeveloper.org/news/15803</link>
      <description><![CDATA[<p>
In <a href="http://blog.calevans.com/2011/01/25/accessing-twitter-via-zend_service_twitter/">this new post</a> to his blog <i>Cal Evans</i> talks about a project he was working on that needed to interface with Twitter via their API. This, of course, requires OAuth but his script is all backend and Twitter requires a frontend to allow the application access.
</p>
<blockquote>
There is no front end at all. It just collects info and stores it in a database so I can query it later. (I'm an old-school database guy and love just writing ad-hoc queries to see what I can see) Twitter wants to redirect you to a site once you have authorized access. Since I don't actually have a site to redirect it to, this was a problem.
</blockquote>
<p>
His solution ("in two parts") involves tips from two different blog posts - <a href="http://www.dragonbe.com/2010/10/single-user-zendservicetwitter.html">this tutorial</a> from <i>Michelangelo van Dam</i> and the other from <i>Jaisen Mathai</i> about <a href="http://www.jaisenmathai.com/articles/twitter-php-oauth.html">using OAuth with Twitter</a>. He's not releasing the source for his script just yet, though, so you'll have to do a little research on your own.
</p>]]></description>
      <pubDate>Tue, 25 Jan 2011 12:08:49 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Michelangelo van Dam's Blog: Single User Zend_Service_Twitter]]></title>
      <guid>http://www.phpdeveloper.org/news/15226</guid>
      <link>http://www.phpdeveloper.org/news/15226</link>
      <description><![CDATA[<p>
<i>Michelangelo van Dam</i> has <a href="http://www.dragonbe.com/2010/10/single-user-zendservicetwitter.html">a new post to his blog</a> today with an example of using the <a href="http://framework.zend.com/manual/en/zend.service.twitter.html">Zend_Service_Twitter</a> component of the Zend Framework to set up a simple <a href="http://twitter.com">Twitter</a> client to connect and grab the latest tweets from an account.
</p>
<blockquote>
Although the <a href="http://framework.zend.com/manual/en/">Zend Framework manual</a> extensively describes how to set up a true <a href="http://twitter.com/">Twitter</a> application with the new <a href="http://oauth.net/">OAuth</a> implementation of <a href="http://twitter.com/">Twitter</a> using <a href="http://framework.zend.com/manual/en/zend.service.twitter.html">Zend_Service_Twitter</a> and <a href="http://framework.zend.com/manual/en/zend.oauth.html">Zend_Oauth</a> (since ZF-1.10.0), this is not what you're looking for. You need a simple approach, using the single user <a href="http://oauth.net/">OAuth</a> implementation of <a href="http://twitter.com/">Twitter</a>.
</blockquote>
<p>
He shows (complete with screenshots) how to register for access to the Twitter API and how, once you've grabbed your access tokens, to pull the latest tweets from the selected account - complete with a code sample to show you how. It's a Zend Framework-specific example, but the components can be used outside the framework for the same effect.
</p>]]></description>
      <pubDate>Mon, 04 Oct 2010 13:36:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Utilizing Twitter lists with Zend_Service_Twitter]]></title>
      <guid>http://www.phpdeveloper.org/news/13972</guid>
      <link>http://www.phpdeveloper.org/news/13972</link>
      <description><![CDATA[<p>
<i>Raphael Stolt</i> has a new post to his blog today looking at how you can use the Zend_Service_Twitter component of the Zend Framework to <a href="http://raphaelstolt.blogspot.com/2010/02/utilizing-twitter-lists-with.html">work with the lists on Twitter</a>.
</p>
<blockquote>
While debating some use cases for an event registration application I stumbled upon an interesting feature, which adds participants automatically to a Twitter list upon registration. [...] This post will show how this feature can be implemented by utilizing the <a href="http://framework.zend.com/manual/en/zend.service.twitter.html">Zend_Service_Twitter</a> component, and how it then can be used in a <a href="http://framework.zend.com/">Zend Framework</a> based application.
</blockquote>
<p>
The Zend_Service_Twitter component makes it simple to interact with Twitter's API and calling the lists part of the API is a snap. His script first checks to see if a list exists, creates it if it doesn't and will add a user to it when they're registering. The class also includes the usual delete and modify functionality for both the users in the list and the lists themselves.
</p>
<p>
He finishes with a simple form that uses his interface class to take in the person's twitter username and send it off to the service.
</p>]]></description>
      <pubDate>Fri, 05 Feb 2010 08:14:44 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer.com: Integrating Twitter Into the Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/11801</guid>
      <link>http://www.phpdeveloper.org/news/11801</link>
      <description><![CDATA[<p>
Developer.com has <a href="http://www.developer.com/lang/php/article.php/3797951">a new tutorial</a> about merging two popular pieces of technology, the <a href="http://framework.zend.com">Zend Framework</a> and <a href="http://www.twitter.com">Twitter</a>, in a Zend Framework-based application. The key to it all? The Zend_Service_Twitter component!
</p>
<blockquote>
What if you wanted to create your own client, or integrate your Twitter stream into your blog or website? Indeed, if your main goal in starting a Twitter account is to post messages regarding a specific product, service, or organization, it might be most convenient to integrate an update mechanism into your existing content management system.
</blockquote>
<p>
You'll already need to be a little bit familiar with setting up Zend Framework applications to follow along exactly, but they give you a good idea of what you'll need to do outside a framework app too. They load up the Zend_Service_Twitter component, load in the config and makes a call to get the user timeline. The results of this are passed out to a view and looped through to drop them into a table. Check out <a href="http://www.developer.com/img/2009/01/Twitter2.gif">this image</a> for an example of how it would look.
</p>]]></description>
      <pubDate>Fri, 23 Jan 2009 10:25:56 -0600</pubDate>
    </item>
  </channel>
</rss>
