O'Reilly logo

PHP 5 Social Networking by Michael Peacock

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

An Application Framework API

The API we have developed allows other websites and web services to interact with our social network; it doesn't allow any provisions for our users to interact with third-party applications within our site. Let's briefly discuss what would be involved in creating such an API, and the practical implications it presents.

To allow third-party developers to build functionality that runs on our social network, we would either need to provide a mechanism for them to upload code to our servers (which is a big security risk, and should never be done), or a way for them to host their code externally, but for our site to interact with it, communicating login information between the two systems, taking the output generated and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required