So in theory what I want to do is to build a social network API abstraction class in PHP. The main goals of the application would be to provide authentication against 3:rd party website (similar to openID) but also to access the different photo services that each provider has (Yahoo has Flickr, Facebook has it's own, Google has Picassa.. and so forth) and perhaps also somewhere to store blog entries. You could then use this on any of your own web applications providing a single interface that talks to several API's depending on what site the user already has an account on. On the event of a user belonging to several networks, the user would have to chose which provider to use as authentication provider.
There are some existing ideas trying to solve the issue like OAuth, and Googles Open Social but they are very limited in what they can do, and have only support for a handful of API providers. As of designing the actual application I would want to build something that would be very easy to extend for other people by just adding additional files into the class directory. So something like:
socialAbstraction_core.php
socialAbstraction_facebook.php
socialAbstraction_someOtherAPIProvider.php
This is all in my head right now and this is the first time i took time and wrote down what I'm actually trying to do. So would be nice with feedback on the idea, any obvious pitfalls? is it doable? Am I out of my mind?
(ps. I wasn't sure where to post this since it's not really PHP related, but the idea is to eventually build the application with PHP)