DESIGN for facebook library for kde 
Async  library


Uses kio jobs for http.  These are wrapped in the same design as KIO::DavJob. - this returns a
QDomDocument containing the response.  Basically same pattern as Java lib but asynchronous.  This
could be wrapped in a client object which parses the responses and makes them available as some kind
of Facebook objects. {
connect( client.friends(), SIGNAL( gotAreFriendsResponse( uid1, uid2, bool ) ) );
client.friends().areFriends( uid1, uid2 );
..
.
Requirements
helper function to generate method signature
monotonically increasing call id


Questions: 
How to make the HTTP Post requests with the right parameters?
Does this cut it?  Can we offer a synchronous mode for lazy people?
Does fb allow multiple sessions? If not we might need a daemon.

What is m_packedArgs etc for?  Is it relevant to us? 
Look at fate again {

Put this into some kind of order.   Figure out how to setup a transferjobs with the params I need.
Then figure out how to handle the response.  Then handle errors.  

namespace Facebook
class Job {};
Job * getFriendsJob(...);

Calling Facebook
HTTP POST
* How to set the parameters? Fate seems to use metadata and some xml that is posted, i don't think
* that is the parameters...


