News Feed
Sections




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

Cal Evans' Blog:
Accessing Twitter via Zend_Service_Twitter
January 25, 2011 @ 12:08:49

In this new post to his blog Cal Evans 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.

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.

His solution ("in two parts") involves tips from two different blog posts - this tutorial from Michelangelo van Dam and the other from Jaisen Mathai about using OAuth with Twitter. He's not releasing the source for his script just yet, though, so you'll have to do a little research on your own.

0 comments voice your opinion now!
twitter zendservicetwitter problem oauth api secret key


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: PHP Abstract Podcast Episode 44: Ed Finkler on Spaz

Anthony Ferrara: A Point On MVC And Architecture

DeveloperTutorials.com: PHP Site Search Made Easy

Padraic Brady's Blog: ext/snarl: PHP interface to the Windows Snarl Notification Tool API

SitePoint PHP Blog: Push Notifications with Prowl


Community Events

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


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

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