You are free to use, modify, and distribute any documentation or source code examples within the Facebook Platform Documentation under the terms of the Creative Commons Attribution-ShareAlike 3.0 license. Source code examples within the Facebook Platform Documentation are further licensed under the terms of the Apache License, Version 2.0. Please note that these licenses only apply to the Platform Documentation.
Engineers at Facebook use, contribute to, and release a lot of open source software. Our official open source at Facebook page links to these open source projects and we have an official open source repository on GitHub.
Our engineers also like to hack on their own open source projects in their free time. For code provided by our engineers outside of our official repository, outside of projects linked-to on our official open source page, or where we have not signed a contributor's license agreement, Facebook does not grant any type of license, whether express or implied, to such code.
If you want to contribute to one of Facebook's open source projects, you and/or your employer will need to submit a Contributor License Agreement.
All use of documentation and source code on this site is subject to Facebook's Statement of Rights and Responsibilities. Nothing on this page alters your obligations under the Statement of Rights and Responsibilities.