designing an API wrapper for Twitter, Facebook, Youtube etc...
- by John Stewart
I am looking at some pointers on how to design a wrapper for these social networking sites. Ideally what I want to do is create a black box where I am able to create an interface for other libraries to call certain functions to interact with these social networking sites.
I am planning on using oAuth for most of these sites, I already have this layer designed in PHP. The other layer that I need for these social sites is the ability to push and pull content. For example, the ability to pull feeds for users from each of these networks and then should I cache them on my end? how would I cache all twitter, facebook etc activity feed and be able to account for resync etc?
The networks that I am looking at are:
Twitter
Youtube
Facebook
LinkedIN
Vimeo
Flickr
I am looking for ideas on how to tackle this in php? Any suggestions, opensource systems that I can learn from?