News Feed
Sections




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

Evan Sims' Blog:
Web APIs by Example, Part I Twitter
August 01, 2007 @ 17:05:00

On his blog today, Evan Sims has posted the first part on a series of tutorials about working with the Twitter API in PHP to create a simple easy application.

Since Twitter is all the rage these days, I thought it would be a great starting point to introduce you to the world of web APIs and how simple they really are to work with. Twitter, like most presencing services, has a very limited range of API calls because, well, it's a very simple service.

Before he starts, he takes a second to explain the parts of the application - what REST is, why he chose PHP and an overview of the communication between client and server. After that, it's on to the code - creating a simple socket with the fsockopen functionality (and friends) and an example of a message that is sent over the socket to Twitter (in this case, a "test" message to ensure things are working).

0 comments voice your opinion now!
api twitter connection rest webservice tutorial api twitter connection rest webservice tutorial


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Building AutoComplete Inputs with PHP, PEAR, Dojo and YUI

PHPMaster.com: Ruling the Swarm (of Tests) with Codeception

Lorna Mitchell's Blog: Accessing the Magento V2 API

Rich Zygler's Blog: People work with WS-* web services in PHP? Why?

IBM developerWorks: U2 PDO Driver Tutorial, Parts 1 & 2


Community Events

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


laravel conference release library voicesoftheelephpant extension community framework api list introduction symfony2 example podcast opinion series php7 performance interview version

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