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

Learn More

Client-side OAuth with Facebook

751 Runs 1385 Views 341 Copies
Saved

Saved

sundip 66

sundip
published 4 years ago

<html>
<head>
	<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">
</head>
<body>
<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">

</table>
</body>
</html>
Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).