Speed up development with full-stack environments for every branch.

Learn More

Client-side OAuth with Facebook

753 Runs 1404 Views 353 Copies


sundip 66

published 5 years ago

	<title>Facebook Client-side OAuth Example</title>
	<script src="//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.7.1.min.js"></script>
	<script src="./facebook.js"></script>
    <link rel="stylesheet" href="styles.css" type="text/css">
<h1 id="header">Get Friends on Facebook</h1>
<button id="fb-login">Login to Facebook</button>
<button id="fb-logout" style="display:none;">Logout of Facebook</button>
<table id="friends">

Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).