Skip to content

Instantly share code, notes, and snippets.

View gist:d84232dfbc7c9868e067
FB.AppRequest ("Here, take this life!", // A message for the user
OGActionType.Send, // Can be .Send or .AskFor depending on what you want to do with the object.
123456789, // Here we put the object id we got as a result before.
1274443221, // The id of the sender.
"", // Here you can put in any data you want
"Send a life to your friend", // A title
View gist:513b149ccc4eb1e519c3
"description":"Use this life to play another time!"
View gist:6ca9ad4169a8911aaf76
"title":"Sample Life",
View OG1
"title":"\"Sample Life\"",
View FacebookAchievements
using System.Collections;
using System.Collections.Generic;
using Facebook;
public class FacebookAchievements
void GiveAchievement(string achievementUrl)
var data = new Dictionary<string, string> () {{"achievement", achievementUrl}};
View gist:a7da7de8f46feaa6bebb
<script type="text/javascript">
window.location.href = ""
View AchievementStep1
<html xmlns="" xmlns:og="">
<meta property="og:type" content="game.achievement"/>
<meta property="og:url" content=""/>
<meta property="og:title" content="Selfie Time!!!"/>
<meta property="og:description" content="I've just shared a replay of a game on Everyplay. Come join me on Whack Wars!"/>
<meta property="og:image" content=""/>
<meta property="game:points" content="10"/>
<meta property="fb:app_id" content="340125262825946"/>
You can’t perform that action at this time.