Skip to content

Instantly share code, notes, and snippets.


David Hewitson shstkvch

View GitHub Profile
shstkvch / fbscripting.js
Created Apr 22, 2012
Facebook Scripting Concept
View fbscripting.js
// Facebook User Scripting
// A (conceptual) scripting interface for Facebook (by David Hewitson, if it matters.)
var people_who_think_i_rock = 0;
me.onWallPost(function(post) {
// someone's posted on my wall!
if(post.message == 'You rock!') {
// someone thinks I rock!; // like the post
View test.html
<title>Test Gist</title>
<h1>Just a test.</h1>
You can’t perform that action at this time.