Skip to content

Instantly share code, notes, and snippets.

@ironico
ironico / facebook-sample.php
Last active October 8, 2015 13:48 — forked from daaku/facebook-sample.php
A simple Facebook PHP example.
<?php
/**
* A simple Facebook PHP example.
*
* - This is not a "Facebook SDK".
* - This example uses Curl, Hash, JSON, Session extensions.
* - This does not use the JavaScript SDK, nor the cookie set by it.
* - This works with Canvas, Page Tabs with IFrames, the Registration Plugin
* and with any other flow which uses the signed_request.