Skip to content

Instantly share code, notes, and snippets.

View akbarsaputrait's full-sized avatar
🏠
Working from home

Akbar Anung Yudha Saputra akbarsaputrait

🏠
Working from home
View GitHub Profile
@akbarsaputrait
akbarsaputrait / facebook-sample.php
Created November 18, 2017 03:58 — 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.