 |
| ::: T4VN Statistics ::: |
PHP Scripts : 64 |
PHP Example : 67 |
PHP Tutorials : 21 |
PHP News : 93 |
Total Coupon : 36 |
Other Tutorials : |
Member : 215 |
Visitor Online : 3 |
Today Visit: 314 |
Total Visitor : 301336 |
Most Online : 41 |
|
 |
 |
Evan Sims' Blog: Web APIs by Example, Part I: Twitter
Author : http://www.phpdeveloper.org [2007-08-03 21:44:32]
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).
|
|
Others News
|
Zend Developer Zone: Joel Spolsky to Keynote at ZendCon '07
|
Mike Naberezny's Blog: Wrapping PHP Functions for Testability
|
Tobias Schlitt's Blog: PHP@FrOSCon - Timetable online!
|
IBM developerWorks: Turn SQL into XML with PHP
|
Andrew Johnstone's Blog: MySQL & PHP Performance Optimization Tips
|
SEO Expert Blog: Amazon Wish Lists with SimpleXML
|
|
|

|
 |
| ::: Resources ::: |
|
|
| ::: New Templates ::: |
|
| ::: Other Tutorials ::: |
|
 |