Contracting the Facebook API
Ben Rubinger, Tevfik Bultan

TL;DR
This paper reports on applying Microsoft's code contract system to the Facebook API, demonstrating that contracts improve development speed and quality for Facebook application developers.
Contribution
It introduces the use of code contracts in the Facebook API for .NET, showing their practical benefits during application development.
Findings
Contracts improved debugging and error detection.
Contracts led to faster development process.
Enhanced code reliability and maintainability.
Abstract
In recent years, there has been an explosive growth in the popularity of online social networks such as Facebook. In a new twist, third party developers are now able to create their own web applications which plug into Facebook and work with Facebook's "social" data, enabling the entire Facebook user base of more than 400 million active users to use such applications. These client applications can contain subtle errors that can be hard to debug if they misuse the Facebook API. In this paper we present an experience report on applying Microsoft's new code contract system for the .NET framework to the Facebook API.We wrote contracts for several classes in the Facebook API wrapper which allows Microsoft .NET developers to implement Facebook applications. We evaluated the usefulness of these contracts during implementation of a new Facebook application. Our experience indicates that having…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMobile and Web Applications · Web Applications and Data Management · Service-Oriented Architecture and Web Services
