Autogenerate Facebook API

Jun 11, 2008 at 3:25 PM
In the release notes for the planned 2.0 release, it mentions going away from hand-crafted XML classes using Linq2XSD. I just thought I'd mention that Facebook's API is actually defined declaratively here, as Thrift:

http://svn.facebook.com/svnroot/platform/fbopen/lib/api/1.0/api_10.thrift

Perhaps we could go from Thrift to XSD on demand (using a custom tool) instead of always maintaining a hand-crafted XSD copy of the API?

Thrift is Facebook's software framework for scalable cross-language services development: http://developers.facebook.com/thrift/