This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<fb:visible-to-connection> | |
A fan | |
<fb:else> | |
<div style="position: absolute; top: 0;"> | |
Not a fan | |
</div> | |
</fb:else> | |
</fb:visible-to-connection> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Messing</title> | |
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js" type="text/javascript"></script> | |
</head> | |
<body> | |
<style> | |
.profilepic{display: none;} | |
body{width: 100%; height: 100%;} | |
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$to = "[email protected]"; | |
$subject = "Contact Us"; | |
$email = $_REQUEST['email'] ; | |
$message = $_REQUEST['message'] ; | |
$headers = "From: $email"; | |
$sent = mail($to, $subject, $message, $title, $headers) ; | |
$title = $_post['title']; | |
if($sent) | |
{print "Your mail was sent successfully"; } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Title : File to read a FB encoded Signed Request | |
// Created By : Colm Doyle | |
// Created on : February 15, 2011 | |
include('config.php'); | |
function parse_signed_request($signed_request, $secret) { | |
list($encoded_sig, $payload) = explode('.', $signed_request, 2); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Hello World</title> | |
<meta property="og:title" content="An awesome clip!"/> | |
<meta property="og:type" content="movie"/> | |
<meta property="og:url" content="http://colmd.fbdublin.com/socialPlugins/videoshare2.php"/> | |
<meta property="og:image" content="http://colmd.fbdublin.com/socialPlugins/BugsLifeWallpaper800.jpg"/> | |
<meta property="og:site_name" content="FBDublin"/> | |
<meta property="fb:admins" content="260300016"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://www.facebook.com/dialog/feed? | |
app_id=180157518663220& | |
link=http://bugs.fbdublin.com& | |
picture=http://colmd.fbdublin.com/socialPlugins/BugsLifeWallpaper800.jpg& | |
name=Facebook%20Dialogs& | |
caption=Reference%20Documentation& | |
description=Dialogs%20provide%20a%20simple,%20consistent%20interface%20for%20applications%20to%20interact%20with%20users.& | |
message=Facebook%20Dialogs%20are%20so%20easy!& | |
redirect_uri=http://bugs.fbdublin.com& | |
source=http://colmd.fbdublin.com/socialPlugins/tangramone.swf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// jSON URL which should be requested | |
$json_url = 'https://graph.facebook.com/YOUR_APP_ID/accounts/test-users?access_token=YOUR_APP_ID|YOUR_APP_SECRET'; | |
// Initializing curl | |
$ch = curl_init( $json_url ); | |
// Configuring curl options | |
$options = array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function sendRequest() { | |
FB.ui({ | |
method: 'apprequests', | |
message: 'Check out this awesome app!' | |
}, | |
function(response) { | |
console.log('sendRequest response: ', response); | |
}); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$access_token = ''; // The access_token you'll use | |
$app_id = ''; // What AppId are you testing against? | |
$user_id = ''; // What user are you testing against? | |
$og_object_url = ''; // The URL of the OG Object | |
$og_object_type = ''; // OG Object type | |
$og_namespace = ''; // OG Namespace |
OlderNewer