Let's do it.
This module should be divided in (at least) two submodules:
- Facebook Core API
- Facebook End User features
- Facebook Object Mapping
Facebook Core API
Facebook Core API should contains only a wrapper to the facebook API. Meaning, integrate with drupal (handle all OAuth and sign-in operation), but doesn't provide any UI, its really just a service wrapper for the graph API. The purpose is provides a quality API which is extensible by developers. This would be the common core for all facebook modules integrations. Modules should use this module as requirement and developers who wants a quick facebook integration can use it as a solid foundation.
Facebook End User features
This module could demonstrate common use case, such as facebook login, or "register with facebook", "like button" feature, and so-on. It will be also a good starting point for custom dev to learn about how using the API.
Facebook Object Mapping
Provide object mapping from facebook object to PHP object at the lower level (Objects are: Album, Application, Checkin, Comment, Domain, Event, FriendList, Group, Insights, Link, Message, Note, Page, Photo, Post, Review, Status message, Subscription, Thread, User, Video). The facebook object mapping can be fields for theses objects for instance.
I just saw the message
How about we work together to make a Facebook API module that can be extended for site specific needs, but has a solid base to integrate Facebook and Drupal.
and I believe in this. I didn't found a discussion about this so I created here.