Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update testing object

  • Loading branch information...
commit e96e8108ed0f0fa80399c88c8f8fe781c4399506 1 parent 5e65586
Colm Doyle authored
Showing with 5 additions and 35 deletions.
  1. +5 −5 objects/testing.php
  2. +0 −30 objects/testing_object.html
View
10 objects/testing.php
@@ -16,16 +16,16 @@
*/
$fb_ref = $_REQUEST['fb_source'];
-
+include(__DIR__ . '/../includes/__init__.php');
?>
<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="diagnostics-app:testing_object" />
- <meta property="og:url" content="http://colmd.fbdublin.com/fb-diagnostics/objects/testing_object.html" />
+ <meta property="fb:app_id" content="<?php echo $config['AppId']; ?>" />
+ <meta property="og:type" content="<?php echo $config['namespace'];?>:testing_object" />
+ <meta property="og:url" content="http://colmd.fbdublin.com/fb-diagnostics/objects/testing.php" />
<meta property="og:title" content="Sample Testing Object" />
- <meta property="og:image" content="https://s-static.ak.fbcdn.net/images/devsite/attachment_blank.png" />
+ <meta property="og:image" content="http://colmd.fbdublin.com/fb-diagnostics/img/320x320.png" />
</head>
<body>
<p>Hello intrepid visitor.</p>
View
30 objects/testing_object.html
@@ -1,30 +0,0 @@
-<html>
-<!--
-
-Copyright 2012 Colm Doyle
-
-Licensed under the Apache License, Version 2.0 (the "License");
-you may not use this file except in compliance with the License.
-You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
--->
-
-<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:title" content="Sample Testing Object" />
- <meta property="og:image" content="https://s-static.ak.fbcdn.net/images/devsite/attachment_blank.png" />
-</head>
-<body>
-hello world
-</body>
-
-</html>
Please sign in to comment.
Something went wrong with that request. Please try again.