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

Learn More

Get user details (email address) with JavaScript SDK [facebook]

5896 Runs 19423 Views 11571 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 Facebook User Data</h1>
<button id="fb-login">Login to Facebook</button>
<pre id="userdata">

Please login/signup to get access to the terminal.

Your session has timed out.

Dismiss (the page may not function properly).