Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Tree: 3b62549985
Fetching contributors…

Cannot retrieve contributors at this time

40 lines (39 sloc) 1.638 kB
<!DOCTYPE html>
<title>Power Editor</title>
body, html {
margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden;
font-size: 12px;
line-height: 14px;
font-family: 'Lucida Grande', Tahoma, Verdana, Arial, sans-serif;
<div id="fb-root"></div>
<script src=""></script>
<div style="padding: 3em; text-align: center;" id="forceLogin">
This is a demo install of <a href="">Facebook's Power Editor</a>
which is an HTML5 based application for managing your ads. It's built entirely on the Facebook Ads API.
<p>Please login to Facebook to work with the Power Editor.</p>
<fb:login-button width="200" perms="ads_management"></fb:login-button>
<a href=""><img style="position: absolute; top: 0; left: 0; border: 0;" src="" alt="Fork me on GitHub"></a>
var appId = ? '145628035517241' : '151391901605088';
FB.init({appId: appId, xfbml: true });
FB.getLoginStatus(function(response) {
if (response.perms) {
location.href = '/';
FB.Event.subscribe('auth.login', function(response) {
location.href = '/';
Jump to Line
Something went wrong with that request. Please try again.