Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rename repo

  • Loading branch information...
commit b65a19bfb576c774dab5bd79c39faacce4bbb4c3 1 parent f434314
Colm Doyle authored
View
2  canvas/index.php
@@ -317,7 +317,7 @@
<ul class="nav nav-pills">
<li><a href="<?php echo $config['github-url'];?>" target="_blank">Github</a></li>
<li><a href="<?php echo $config['github-url'];?>/issues" target="_blank">Report Bugs</a></li>
- <li><a data-toggle="modal" href="https://colmd.fbdublin.com/colms-sandbox/privacy.php" data-target="#privacyModal">Privacy Policy</a></li>
+ <li><a data-toggle="modal" href="https://colmd.fbdublin.com/fb-diagnostics/privacy.php" data-target="#privacyModal">Privacy Policy</a></li>
</ul>
</div>
<div class="span6">
View
10 includes/functions.php
@@ -63,15 +63,15 @@ function output_standard_head(
function output_header () {
$head = '<head>';
// TODO - This is clowny. Make it better.
- $head .= output_standard_head('Colm\'s Sandbox', 'website', 'http://colmd.fbdublin.com/colms-sandbox/page-tab/index.php', 'https://fbcdn-photos-a.akamaihd.net/photos-ak-snc7/v85005/230/120999667956026/app_10_120999667956026_1011543027.gif', 'Colm\'s Sandbox', '120999667956026');
+ $head .= output_standard_head('Colm\'s Sandbox', 'website', 'http://colmd.fbdublin.com/fb-diagnostics/page-tab/index.php', 'https://fbcdn-photos-a.akamaihd.net/photos-ak-snc7/v85005/230/120999667956026/app_10_120999667956026_1011543027.gif', 'Colm\'s Sandbox', '120999667956026');
$head .= '<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>';
$head .= '<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />';
$head .= '<script src=\'https://connect.facebook.net/en_US/all.js\'></script>';
- $head .= '<link href="https://colmd.fbdublin.com/colms-sandbox/css/bootstrap.min.css" rel="stylesheet" media="screen">';
+ $head .= '<link href="https://colmd.fbdublin.com/fb-diagnostics/css/bootstrap.min.css" rel="stylesheet" media="screen">';
$head .= '<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>';
- $head .= '<script src="https://colmd.fbdublin.com/colms-sandbox/js/bootstrap.min.js"></script>';
- $head .= '<script src="https://colmd.fbdublin.com/colms-sandbox/js/main.js"></script>';
- $head .= '<link rel="stylesheet" type="text/css" href="https://colmd.fbdublin.com/colms-sandbox/css/screen.css" />';
+ $head .= '<script src="https://colmd.fbdublin.com/fb-diagnostics/js/bootstrap.min.js"></script>';
+ $head .= '<script src="https://colmd.fbdublin.com/fb-diagnostics/js/main.js"></script>';
+ $head .= '<link rel="stylesheet" type="text/css" href="https://colmd.fbdublin.com/fb-diagnostics/css/screen.css" />';
$head .= '</head>';
View
32 js/main.js
@@ -19,50 +19,50 @@ $(document).ready(function () {
if ($("[rel=popover]").length) {
$("[rel=popover]").popover();
}
-
+
$('#add_page_tab').click(function(){
- FB.ui({method: 'pagetab', redirect_uri: 'https://colmd.fbdublin.com/colms-sandbox/page-tab/'});
+ FB.ui({method: 'pagetab', redirect_uri: 'https://colmd.fbdublin.com/fb-diagnostics/page-tab/'});
});
-
+
$('#send_dialog').click(function(){
- FB.ui({method: 'send', link: 'https://www.github.com/colmdoyle/colms-sandbox'},
+ FB.ui({method: 'send', link: 'https://www.github.com/colmdoyle/fb-diagnostics'},
function(response) {
$('#alert-container').html('<div class="alert alert-success">'+ response.post_id + '<a class="close" data-dismiss="alert" href="#">&times;</a></div>');
});
});
$('#oauth_dialog').click(function(){
- FB.ui({method: 'oauth'},
+ FB.ui({method: 'oauth'},
function(response) {
$('#alert-container').html('<div class="alert alert-success">'+ response + '<a class="close" data-dismiss="alert" href="#">&times;</a></div>');
});
});
-
+
$('#requests_mfs_dialog').click(function(){
- FB.ui({method: 'apprequests', message: 'You should see this test app'},
+ FB.ui({method: 'apprequests', message: 'You should see this test app'},
function(response) {
console.log(response);
$('#alert-container').html('<div class="alert alert-success"><p><strong>Request ID: </strong>'+ response.request +'</p><p><strong>Recipients: </strong>' + response.to + '</p><a class="close" data-dismiss="alert" href="#">&times;</a></div>');
});
});
-
+
$('#feed_dialog').click(function(){
FB.ui({
- method: 'feed',
- redirect_uri: 'https://colmd.fbdublin.com/colms-sandbox/page-tab/',
- link:'https://github.com/colmdoyle/colms-sandbox',
- picture: 'https://colmd.fbdublin.com/colms-sandbox/img/320x320.png',
+ method: 'feed',
+ redirect_uri: 'https://colmd.fbdublin.com/fb-diagnostics/page-tab/',
+ link:'https://github.com/colmdoyle/fb-diagnostics',
+ picture: 'https://colmd.fbdublin.com/fb-diagnostics/img/320x320.png',
name: 'Colm\'s Sandbox',
caption: 'It\'s a great app altogether',
description: 'Source code for a Facebook App that can be used to test various APIs & features of Facebook Apps.'
- },
+ },
function(response) {
$('#alert-container').html('<div class="alert alert-success">'+ response.post_id + '<a class="close" data-dismiss="alert" href="#">&times;</a></div>');
});
});
-
+
$('#publish_action').click(function(){
- FB.api('/me/colms-sandbox:test', 'post', {testing_object: 'http://colmd.fbdublin.com/colms-sandbox/objects/testing.php'},
+ FB.api('/me/diagnostics-app:test', 'post', {testing_object: 'http://colmd.fbdublin.com/fb-diagnostics/objects/testing.php'},
function(response){
if (response.error) {
$('#alert-container').html('<div class="alert alert-error">'+ response.error + '<a class="close" data-dismiss="alert" href="#">&times;</a></div>');
@@ -74,7 +74,7 @@ $(document).ready(function () {
}
});
});
-
+
$('#publish_submit').click(function(){
var message_val = $('#message_box_modal').val();
$('#myModal').modal('hide')
View
2  mobile/index.php
@@ -20,7 +20,7 @@
$login_button = '<fb:login-button scope="user_likes" show-faces="true" width="200" max-rows="1"></fb:login-button>';
$head = '<head>';
-$head .= output_standard_head('Colm\'s Sandbox', 'website', 'http://colmd.fbdublin.com/colms-sandbox/index.php', 'https://fbcdn-photos-a.akamaihd.net/photos-ak-snc7/v85005/230/120999667956026/app_10_120999667956026_1011543027.gif', 'Colm\'s Sandbox', $config['AppId']);
+$head .= output_standard_head('Colm\'s Sandbox', 'website', 'http://colmd.fbdublin.com/fb-diagnostics/index.php', 'https://fbcdn-photos-a.akamaihd.net/photos-ak-snc7/v85005/230/120999667956026/app_10_120999667956026_1011543027.gif', 'Colm\'s Sandbox', $config['AppId']);
$head .= '<script src="http://code.jquery.com/jquery-1.7.2.min.js"></script>';
$head .= '<script src="../scripts/main.js"></script>';
$head .= '<script src=\'https://connect.facebook.net/en_US/all.js\'></script>';
View
4 objects/testing.php
@@ -22,8 +22,8 @@
<html>
<head prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb# video: http://ogp.me/ns/video#">
<meta property="fb:app_id" content="120999667956026" />
- <meta property="og:type" content="colms-sandbox:testing_object" />
- <meta property="og:url" content="http://colmd.fbdublin.com/colms-sandbox/objects/testing_object.html" />
+ <meta property="og:type" content="diagnostics-app:testing_object" />
+ <meta property="og:url" content="http://colmd.fbdublin.com/fb-diagnostics/objects/testing_object.html" />
<meta property="og:title" content="Sample Testing Object" />
<meta property="og:image" content="https://s-static.ak.fbcdn.net/images/devsite/attachment_blank.png" />
</head>
View
2  page-tab/index.php
@@ -407,7 +407,7 @@
<ul class="nav nav-pills">
<li><a href="<?php echo $config['github-url'];?>" target="_blank">Github</a></li>
<li><a href="<?php echo $config['github-url'];?>/issues" target="_blank">Report Bugs</a></li>
- <li><a data-toggle="modal" href="https://colmd.fbdublin.com/colms-sandbox/privacy.php" data-target="#privacyModal">Privacy Policy</a></li>
+ <li><a data-toggle="modal" href="https://colmd.fbdublin.com/fb-diagnostics/privacy.php" data-target="#privacyModal">Privacy Policy</a></li>
</ul>
</div>
<div class="span6">
Please sign in to comment.
Something went wrong with that request. Please try again.